| Package | Description |
|---|---|
| tech.ibit.mybatis | |
| tech.ibit.mybatis.sqlbuilder | |
| tech.ibit.mybatis.sqlbuilder.sql | |
| tech.ibit.mybatis.sqlbuilder.sql.impl | |
| tech.ibit.mybatis.sqlbuilder.utils |
| Modifier and Type | Method and Description |
|---|---|
default InsertSql |
Mapper.createInsert()
创建插入
|
| Modifier and Type | Method and Description |
|---|---|
static InsertSql |
SqlFactory.createInsert(Mapper<?> mapper)
创建插入
|
| Modifier and Type | Method and Description |
|---|---|
InsertSql |
InsertSql.insertDefault()
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InsertSqlImpl
InsertSql实现
|
| Modifier and Type | Method and Description |
|---|---|
InsertSql |
InsertSqlImpl.insert(List<Table> tables) |
InsertSql |
InsertSqlImpl.insert(Table table) |
InsertSql |
InsertSqlImpl.insertDefault() |
InsertSql |
InsertSqlImpl.onDuplicateKeyUpdate(List<SetItem> items) |
InsertSql |
InsertSqlImpl.onDuplicateKeyUpdate(SetItem item) |
InsertSql |
InsertSqlImpl.values(Column column,
Object value) |
InsertSql |
InsertSqlImpl.values(ColumnValue columnValue) |
InsertSql |
InsertSqlImpl.values(List<? extends ColumnValue> columnValues) |
InsertSql |
InsertSqlImpl.values(List<Column> columns,
List<Object> values) |
| Modifier and Type | Method and Description |
|---|---|
static <T> InsertSql |
IdSqlUtils.batchInsertInto(Mapper<T> mapper,
List<T> pos,
List<Column> columns)
构造批量插入对象的SQL对象参数
SQL语法 : `INSERT INTO table(column1, column2, ...) values(?, ?, ...), (?, ?, ...)`
|
static <T> InsertSql |
IdSqlUtils.insertInto(Mapper<T> mapper,
T po)
构造插入对象的SQL对象参数
|
Copyright © 2020 IBIT程序猿. All rights reserved.