| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
Update.Set |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
go()
执行更新操作
|
<T extends Engine> |
update(Class<T> table)
修改表
|
<T extends Engine> |
update(T table,
Object splitColumnValue,
String... fields)
修改表(适用于更新存在数据切割的表,不能同时更新两张以上子表的数据)
|
<T extends Engine> |
update(T table,
String... fields)
修改表
|
Update |
where(Cnd cnd)
更新时的条件语句
|
<T extends Engine> Update update(T table, String... fields) throws SQLException
T - 表table - 表实体对象fields - 需要修改的表字段集,默认为修改不为null的所有字段SQLException - -<T extends Engine> Update update(T table, Object splitColumnValue, String... fields) throws SQLException
T - 表table - 表实体对象fields - 需要修改的表字段集,默认为修改不为null的所有字段splitColumnValue - 分割字段的值,用于确定更新的子表SQLException - --int go() throws SQLException
SQLException - -<T extends Engine> Update.Set update(Class<T> table) throws SQLException
T - 表table - 表对应的ClassSQLException - -Copyright © 2020 Pivotal Software, Inc.. All rights reserved.