Class InsertSqlBuilder
java.lang.Object
cn.dinodev.spring.data.sql.builder.InsertSqlBuilder
- All Implemented Interfaces:
SqlBuilder
- Author:
- Cody Lu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]获取sql语句需要的参数数组getSql()获取生成的sql语句setIfNotNull(String col, Object value) setJsonbIf(boolean cnd, String col, Object value) setJsonbIfNotNull(String col, Object value) setJsonIfNotNull(String col, Object value) withoutParam(String col, String valueExpr) withoutParamIf(boolean cnd, String col, String expr) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.dinodev.spring.data.sql.SqlBuilder
appendList, appendList
-
Field Details
-
setColumns
-
valueExps
-
setParams
-
-
Constructor Details
-
InsertSqlBuilder
-
-
Method Details
-
set
-
set
-
setIf
-
setIf
-
setIfNotNull
-
withoutParam
-
withoutParamIf
-
setJson
-
setJsonIf
-
setJsonIfNotNull
-
setJsonb
-
setJsonbIf
-
setJsonbIfNotNull
-
getSql
Description copied from interface:SqlBuilder获取生成的sql语句- Specified by:
getSqlin interfaceSqlBuilder- Returns:
-
getParams
Description copied from interface:SqlBuilder获取sql语句需要的参数数组- Specified by:
getParamsin interfaceSqlBuilder- Returns:
-