| 程序包 | 说明 |
|---|---|
| xin.xihc.jba.core | |
| xin.xihc.jba.sql |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> List<T> |
JbaTemplate.queryList(Select select,
Class<T> clazz,
PageInfo pageInfo)
查询数据库--Select
|
<T> T |
JbaTemplate.queryOne(Select select,
Class<T> clazz)
查询数据库--Select单个查询
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Select |
Select.from(Class<?> clazz)
查询的表的实体类
|
static Select |
Select.from(String... tables)
查询的表的实体类
|
Select |
Select.orderBy(String... orders)
排序条件
|
Select |
Select.select()
select *
|
Select |
Select.select(Class<?> clazz)
查询的表的实体类里的所有属性
|
Select |
Select.select(Select select,
String alias)
嵌套子查询
|
Select |
Select.select(String... columns)
查询的列名
|
Select |
Select.where(Where where)
where条件语句
|
| 限定符和类型 | 方法和说明 |
|---|---|
Select |
Select.select(Select select,
String alias)
嵌套子查询
|
Copyright © 2020. All rights reserved.