public interface DQLSQLBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
PreparedStatement |
count(Query query)
获取符合条件的总数目
|
PreparedStatement |
delete(Query query)
删除符合条件的数据库记录
|
PreparedStatement |
fetch(Class clazz,
long id)
根据id查询
|
PreparedStatement |
fetch(Class clazz,
String field,
Object value)
根据字段值查询
|
PreparedStatement |
fetchNull(Class clazz,
String field)
is null查询
|
PreparedStatement |
getArray(Query query)
返回符合条件的数据库记录
|
PreparedStatement |
update(Query query)
更新符合条件的记录
|
PreparedStatement fetchNull(Class clazz, String field) throws SQLException
SQLExceptionPreparedStatement fetch(Class clazz, long id) throws SQLException
SQLExceptionPreparedStatement fetch(Class clazz, String field, Object value) throws SQLException
SQLExceptionPreparedStatement count(Query query) throws SQLException
SQLExceptionPreparedStatement update(Query query) throws SQLException
SQLExceptionPreparedStatement delete(Query query) throws SQLException
SQLExceptionPreparedStatement getArray(Query query) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.