Package cn.cloudself.query
Class QueryProSql.InsertAction
- java.lang.Object
-
- cn.cloudself.query.QueryProSql.AbstractAction<QueryProSql.InsertAction>
-
- cn.cloudself.query.QueryProSql.InsertAction
-
- Enclosing class:
- QueryProSql
public static class QueryProSql.InsertAction extends QueryProSql.AbstractAction<QueryProSql.InsertAction>
-
-
Constructor Summary
Constructors Constructor Description InsertAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V,M extends Map<String,V>>
voidinsert(String table, Collection<M> objs)通过 objs 配合数据库表名,动态生成sql语句,并执行<ID,V,M extends Map<String,V>>
List<ID>insert(String table, Collection<M> objs, Class<ID> idColumnClazz)通过 objs 配合数据库表名,动态生成sql语句,并执行<V> voidinsert(String table, Map<String,V>... objs)通过 objs 配合数据库表名,动态生成sql语句,并执行QueryProSql.InsertActionmaxParameterSize(Integer size)-
Methods inherited from class cn.cloudself.query.QueryProSql.AbstractAction
dbType, ofConnection, ofDataSource, take
-
-
-
-
Method Detail
-
maxParameterSize
public QueryProSql.InsertAction maxParameterSize(Integer size)
-
insert
@SafeVarargs public final <V> void insert(String table, Map<String,V>... objs)
通过 objs 配合数据库表名,动态生成sql语句,并执行
-
insert
public <V,M extends Map<String,V>> void insert(String table, Collection<M> objs)
通过 objs 配合数据库表名,动态生成sql语句,并执行
-
-