Modifier and Type | Class and Description |
---|---|
class |
DeleteDSL.DeleteWhereBuilder |
Modifier and Type | Method and Description |
---|---|
R |
build()
WARNING! Calling this method could result in an delete statement that deletes
all rows in a table.
|
static <R> DeleteDSL<R> |
deleteFrom(Function<DeleteModel,R> adapterFunction,
SqlTable table) |
static DeleteDSL<DeleteModel> |
deleteFrom(SqlTable table) |
static <T> DeleteDSL<MyBatis3DeleteModelAdapter<T>> |
deleteFromWithMapper(Function<DeleteStatementProvider,T> mapperMethod,
SqlTable table)
Deprecated.
in favor of
MyBatis3Utils.deleteFrom(ToIntFunction, SqlTable, DeleteDSLCompleter) .
This method will be removed without direct replacement in a future version |
DeleteDSL.DeleteWhereBuilder |
where() |
<T> DeleteDSL.DeleteWhereBuilder |
where(BindableColumn<T> column,
VisitableCondition<T> condition,
SqlCriterion<?>... subCriteria) |
public DeleteDSL.DeleteWhereBuilder where()
public <T> DeleteDSL.DeleteWhereBuilder where(BindableColumn<T> column, VisitableCondition<T> condition, SqlCriterion<?>... subCriteria)
public R build()
public static <R> DeleteDSL<R> deleteFrom(Function<DeleteModel,R> adapterFunction, SqlTable table)
public static DeleteDSL<DeleteModel> deleteFrom(SqlTable table)
@Deprecated public static <T> DeleteDSL<MyBatis3DeleteModelAdapter<T>> deleteFromWithMapper(Function<DeleteStatementProvider,T> mapperMethod, SqlTable table)
MyBatis3Utils.deleteFrom(ToIntFunction, SqlTable, DeleteDSLCompleter)
.
This method will be removed without direct replacement in a future versionT
- return value from a delete method - typically IntegermapperMethod
- MyBatis3 mapper method that performs the deletetable
- table to delete fromCopyright © 2016–2019 MyBatis.org. All rights reserved.