public interface InsertExecute<T>
| 限定符和类型 | 方法和说明 |
|---|---|
long |
batchInsert(List<T> entity)
批量插入记录。
|
default long |
batchInsert(T... entity)
批量插入记录。
|
<V> BoundSql |
buildInsertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery)
build insert form select sql
|
Class<T> |
exampleType()
参考的样本对象
|
long |
insert(T entity)
插入一条记录。
|
<V> long |
insertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery)
insert form select
|
long insert(T entity) throws SQLException
SQLExceptiondefault long batchInsert(T... entity) throws SQLException
SQLExceptionlong batchInsert(List<T> entity) throws SQLException
SQLException<V> long insertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery) throws SQLException
SQLException<V> BoundSql buildInsertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery) throws SQLException
SQLExceptionCopyright © 2020–2021. All rights reserved.