T - 对象模板类型public class InsertTableSupportImpl<T> extends BaseTableSupportImpl<T> implements InsertTableSupport<T>
| Constructor and Description |
|---|
InsertTableSupportImpl(T sql)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
PrepareStatement |
getInsertPrepareStatement(boolean useAlias)
获取预查询SQL对象
|
T |
insert(List<Table> tables)
`INSERT INTO table1 t1, table2 t2...` 语句, t1, t2表示"表别名"
|
T |
insert(Table table)
`INSERT INTO table1 t1` 语句, t1表示"表别名"
|
getSql, getTable, getTablePrepareStatementequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic InsertTableSupportImpl(T sql)
sql - sql对象public T insert(Table table)
InsertTableSupportinsert in interface InsertTableSupport<T>table - 表对象Tablepublic T insert(List<Table> tables)
InsertTableSupportinsert in interface InsertTableSupport<T>tables - 表对象列表Tablepublic PrepareStatement getInsertPrepareStatement(boolean useAlias)
useAlias - 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.