public interface UpdateExecute<T>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
delete()
根据 Lambda 构造器的条件执行删除。
|
Class<T> |
exampleType()
参考的样本对象
|
int |
updateCount()
生成 select count() 查询语句并查询总数。
|
long |
updateLargeCount()
生成 select count() 查询语句并查询总数。
|
int |
updateTo(T newValue)
根据 Lambda 构造器的条件作为筛选条件,将它们更新为新的状态。
|
int |
updateTo(T newValue,
List<net.hasor.utils.reflect.SFunction<T>> columns)
查询指定列。
|
int |
updateTo(T newValue,
Predicate<FieldInfo> tester)
按条件过滤查询指定列。
|
default int |
updateTo(T newValue,
net.hasor.utils.reflect.SFunction<T> column)
查询指定列。
|
int |
updateTo(T newValue,
String... columns)
查询指定列。
|
int delete()
throws SQLException
SQLExceptionint updateCount()
throws SQLException
SQLExceptionlong updateLargeCount()
throws SQLException
SQLExceptionint updateTo(T newValue) throws SQLException
SQLExceptiondefault int updateTo(T newValue, net.hasor.utils.reflect.SFunction<T> column)
int updateTo(T newValue, List<net.hasor.utils.reflect.SFunction<T>> columns)
Copyright © 2020–2021. All rights reserved.