类 Insert
java.lang.Object
com.baomidou.mybatisplus.core.injector.AbstractMethod
com.baomidou.mybatisplus.core.injector.methods.Insert
- 所有已实现的接口:
Constants,StringPool,Serializable
插入一条数据(选择字段插入)
- 从以下版本开始:
- 2018-04-06
- 作者:
- hubin
- 另请参阅:
-
字段概要
从类继承的字段 com.baomidou.mybatisplus.core.injector.AbstractMethod
builderAssistant, configuration, languageDriver, logger, methodName从接口继承的字段 com.baomidou.mybatisplus.core.toolkit.Constants
AES, AES_CBC_CIPHER, ARRAY, AS, ASC, COLL, COLLECTION, COLUMN_MAP, COLUMN_MAP_IS_EMPTY, DEFAULT_BATCH_SIZE, DESC, ENTITY, ENTITY_DOT, LIMIT, LIST, MD5, MP_FILL_ET, MP_OPTLOCK_VERSION_ORIGINAL, MYBATIS_PLUS, ORDER_BY, Q_WRAPPER_SQL_COMMENT, Q_WRAPPER_SQL_FIRST, Q_WRAPPER_SQL_SELECT, U_WRAPPER_SQL_SET, WHERE, WRAPPER, WRAPPER_DOT, WRAPPER_EMPTYOFNORMAL, WRAPPER_EMPTYOFWHERE, WRAPPER_ENTITY, WRAPPER_ENTITY_DOT, WRAPPER_EXPRESSION_ORDER, WRAPPER_NONEMPTYOFENTITY, WRAPPER_NONEMPTYOFNORMAL, WRAPPER_NONEMPTYOFWHERE, WRAPPER_PARAM, WRAPPER_PARAM_MIDDLE, WRAPPER_SQLSEGMENT从接口继承的字段 com.baomidou.mybatisplus.core.toolkit.StringPool
AMPERSAND, AND, ASTERISK, AT, BACK_SLASH, BACKTICK, BYTES_NEW_LINE, COLON, COMMA, CRLF, DASH, DOLLAR, DOLLAR_LEFT_BRACE, DOT, DOT_CLASS, DOT_JAVA, DOT_NEWLINE, DOT_XML, DOTDOT, EMPTY, EMPTY_ARRAY, EQUALS, EXCLAMATION_MARK, FALSE, HASH, HASH_LEFT_BRACE, HAT, HTML_AMP, HTML_GT, HTML_LT, HTML_NBSP, HTML_QUOTE, ISO_8859_1, LEFT_BRACE, LEFT_BRACKET, LEFT_CHEV, LEFT_SQ_BRACKET, N, NEWLINE, NO, NULL, NUM, OFF, ON, ONE, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE, RETURN, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CHEV, RIGHT_SQ_BRACKET, SEMICOLON, SINGLE_QUOTE, SLASH, SPACE, SQL, STAR, TAB, TILDA, TRUE, UNDERSCORE, US_ASCII, UTF_8, Y, YES, ZERO -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.apache.ibatis.mapping.MappedStatementinjectMappedStatement(Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) 注入自定义 MappedStatement从类继承的方法 com.baomidou.mybatisplus.core.injector.AbstractMethod
addDeleteMappedStatement, addDeleteMappedStatement, addInsertMappedStatement, addInsertMappedStatement, addMappedStatement, addMappedStatement, addSelectMappedStatementForOther, addSelectMappedStatementForOther, addSelectMappedStatementForTable, addSelectMappedStatementForTable, addUpdateMappedStatement, addUpdateMappedStatement, convertChooseEwSelect, convertIfEwParam, createSqlSource, filterTableFieldInfo, inject, optlockVersion, sqlComment, sqlCount, sqlFirst, sqlLogicSet, sqlOrderBy, sqlSelectColumns, sqlSelectObjsColumns, sqlSet, sqlWhereByMap, sqlWhereEntityWrapper
-
构造器详细资料
-
Insert
public Insert() -
Insert
public Insert(boolean ignoreAutoIncrementColumn) - 参数:
ignoreAutoIncrementColumn- 是否忽略自增长主键字段- 从以下版本开始:
- 3.5.4
-
Insert
- 参数:
name- 方法名- 从以下版本开始:
- 3.5.0
-
Insert
- 参数:
name- 方法名ignoreAutoIncrementColumn- 是否忽略自增长主键字段- 从以下版本开始:
- 3.5.4
-
-
方法详细资料
-
injectMappedStatement
public org.apache.ibatis.mapping.MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) 从类复制的说明:AbstractMethod注入自定义 MappedStatement- 指定者:
injectMappedStatement在类中AbstractMethod- 参数:
mapperClass- mapper 接口modelClass- mapper 泛型tableInfo- 数据库表反射信息- 返回:
- MappedStatement
-