| 限定符和类型 | 方法和说明 |
|---|---|
String |
action()
操作类型
|
static Select |
from(Class<?> clazz)
查询的表的实体类
|
static Select |
from(String... tables)
查询的表的实体类
|
KV |
getKv() |
Select |
orderBy(String... orders)
排序条件
|
Select |
select()
select *
|
Select |
select(Class<?> clazz)
查询的表的实体类里的所有属性
|
Select |
select(Select select,
String alias)
嵌套子查询
|
Select |
select(String... columns)
查询的列名
|
String |
toSql()
转为SQL语句
|
Select |
where(Where where)
where条件语句
|
Copyright © 2020. All rights reserved.