| 程序包 | 说明 |
|---|---|
| online.sanen.unabo.api | |
| online.sanen.unabo.sql |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
Replace the table name with the class name
|
QueryTable |
Bootstrap.queryTable(String tableName)
Custom table operation, delete query (List, UniqResult)
|
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.setQualifier(boolean flag)
Whether the qualifier is turned on or not, it is turned on by default
|
QueryTable |
QueryTable.sort(Sorts sorts,
String... fields)
To add sorting
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
QueryTableDevice |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryTable |
QueryTableDevice.addCondition(Condition cond) |
QueryTable |
QueryTableDevice.addCondition(Consumer<List<Condition>> consumer) |
QueryTable |
QueryTableDevice.alias(Map<String,String> alias) |
QueryTable |
QueryTableDevice.limit(Integer... args) |
<T> QueryTable |
BootstrapDevice.queryTable(Class<T> cls) |
QueryTable |
BootstrapDevice.queryTable(String tableName) |
QueryTable |
QueryTableDevice.setExceptFields(String... fields) |
QueryTable |
QueryTableDevice.setFields(List<String> fields) |
QueryTable |
QueryTableDevice.setFields(String... fields) |
QueryTable |
QueryTableDevice.setQualifier(boolean flag) |
QueryTable |
QueryTableDevice.sort(Sorts sorts,
String... fields) |
Copyright © 2023. All rights reserved.