Modifier and Type | Class and Description |
---|---|
class |
UpdateDSL.SetClauseFinisher<T> |
class |
UpdateDSL.UpdateWhereBuilder |
Modifier and Type | Method and Description |
---|---|
R |
build()
WARNING! Calling this method could result in an update statement that updates
all rows in a table.
|
<T> UpdateDSL.SetClauseFinisher<T> |
set(SqlColumn<T> column) |
static <R> UpdateDSL<R> |
update(Function<UpdateModel,R> adapterFunction,
SqlTable table) |
static UpdateDSL<UpdateModel> |
update(SqlTable table) |
static <T> UpdateDSL<MyBatis3UpdateModelAdapter<T>> |
updateWithMapper(Function<UpdateStatementProvider,T> mapperMethod,
SqlTable table)
Deprecated.
in favor of
MyBatis3Utils.update(ToIntFunction, SqlTable, UpdateDSLCompleter) . This
method will be removed without direct replacement in a future version. |
UpdateDSL.UpdateWhereBuilder |
where() |
<T> UpdateDSL.UpdateWhereBuilder |
where(BindableColumn<T> column,
VisitableCondition<T> condition,
SqlCriterion<?>... subCriteria) |
public <T> UpdateDSL.SetClauseFinisher<T> set(SqlColumn<T> column)
public UpdateDSL.UpdateWhereBuilder where()
public <T> UpdateDSL.UpdateWhereBuilder where(BindableColumn<T> column, VisitableCondition<T> condition, SqlCriterion<?>... subCriteria)
public R build()
public static <R> UpdateDSL<R> update(Function<UpdateModel,R> adapterFunction, SqlTable table)
public static UpdateDSL<UpdateModel> update(SqlTable table)
@Deprecated public static <T> UpdateDSL<MyBatis3UpdateModelAdapter<T>> updateWithMapper(Function<UpdateStatementProvider,T> mapperMethod, SqlTable table)
MyBatis3Utils.update(ToIntFunction, SqlTable, UpdateDSLCompleter)
. This
method will be removed without direct replacement in a future version.T
- return value from an update method - typically IntegermapperMethod
- MyBatis3 mapper method that performs the updatetable
- table to updateCopyright © 2016–2019 MyBatis.org. All rights reserved.