| 程序包 | 说明 |
|---|---|
| online.sanen.unabo.nosql | |
| online.sanen.unabo.nosql.mongodb |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryTable |
QueryTable.addCondition(Condition cond) |
QueryTable |
QueryTable.addCondition(Consumer<List<Condition>> conds) |
QueryTable |
QueryTable.alias(Map<String,String> alias) |
QueryTable |
QueryTable.limit(Integer... args)
This is a extraction function limit(0,10) This
method is usually followed by a
maps() or list() methodDifferent databases will have different implementations, so refer to the database functions you're currently using, and if you don't support limit, you'll default to pulling the corresponding result set from the result set |
<T> QueryTable |
Bootstrap.queryTable(Class<T> cls) |
QueryTable |
Bootstrap.queryTable(String tableName)
Operating collection
|
QueryTable |
QueryTable.setExceptFields(String... fields)
All other fields are involved
|
QueryTable |
QueryTable.setFields(List<String> fields) |
QueryTable |
QueryTable.setFields(String... fields)
Sets the fields that participate in the operation, with the highest
priority to override the fields of the entity class
|
QueryTable |
QueryTable.sort(Sorts sorts,
String... fields)
To add sorting
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
QueryTableMongodb |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryTable |
QueryTableMongodb.addCondition(Condition cond) |
QueryTable |
QueryTableMongodb.addCondition(Consumer<List<Condition>> conds) |
QueryTable |
QueryTableMongodb.alias(Map<String,String> alias) |
QueryTable |
QueryTableMongodb.limit(Integer... args) |
<T> QueryTable |
BootstrapMongodb.queryTable(Class<T> cls) |
QueryTable |
BootstrapMongodb.queryTable(String tableName) |
QueryTable |
QueryTableMongodb.setExceptFields(String... fields) |
QueryTable |
QueryTableMongodb.setFields(List<String> fields) |
QueryTable |
QueryTableMongodb.setFields(String... fields) |
QueryTable |
QueryTableMongodb.sort(Sorts sorts,
String... fields) |
Copyright © 2023. All rights reserved.