T - 对象模板类型public class UpdateTableSupportImpl<T> extends BaseTableSupportImpl<T> implements UpdateTableSupport<T>
| 构造器和说明 |
|---|
UpdateTableSupportImpl(T sql)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
PrepareStatement |
getUpdatePrepareStatement(boolean useAlias)
获取预查询SQL对象
|
T |
update(List<Table> tables)
`UPDATE table1 t1, table2 t2...` 语句, t1, t2表示"表别名"
|
T |
update(Table table)
`UPDATE table1 t1` 语句, t1表示"表别名"
|
getSql, getTable, getTablePrepareStatementappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic UpdateTableSupportImpl(T sql)
sql - sql对象public T update(Table table)
UpdateTableSupportupdate 在接口中 UpdateTableSupport<T>table - 表对象Tablepublic T update(List<Table> tables)
UpdateTableSupportupdate 在接口中 UpdateTableSupport<T>tables - 表对象列表Tablepublic PrepareStatement getUpdatePrepareStatement(boolean useAlias)
useAlias - 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.