Package org.mybatis.dynamic.sql.delete
Class DeleteDSL<R>
java.lang.Object
org.mybatis.dynamic.sql.where.AbstractWhereStarter<DeleteDSL<R>.DeleteWhereBuilder,DeleteDSL<R>>
org.mybatis.dynamic.sql.delete.DeleteDSL<R>
- All Implemented Interfaces:
Buildable<R>
,ConfigurableStatement<DeleteDSL<R>>
public class DeleteDSL<R>
extends AbstractWhereStarter<DeleteDSL<R>.DeleteWhereBuilder,DeleteDSL<R>>
implements Buildable<R>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
WARNING! Calling this method could result in a delete statement that deletes all rows in a table.configureStatement
(Consumer<StatementConfiguration> consumer) static <R> DeleteDSL
<R> deleteFrom
(Function<DeleteModel, R> adapterFunction, SqlTable table, String tableAlias) static DeleteDSL
<DeleteModel> deleteFrom
(SqlTable table) static DeleteDSL
<DeleteModel> deleteFrom
(SqlTable table, String tableAlias) limit
(long limit) orderBy
(Collection<? extends SortSpecification> columns) orderBy
(SortSpecification... columns) where()
Methods inherited from class org.mybatis.dynamic.sql.where.AbstractWhereStarter
applyWhere, where, where, where, where, where, where, where
-
Method Details
-
where
- Specified by:
where
in classAbstractWhereStarter<DeleteDSL<R>.DeleteWhereBuilder,
DeleteDSL<R>>
-
limit
-
orderBy
-
orderBy
-
build
WARNING! Calling this method could result in a delete statement that deletes all rows in a table. -
configureStatement
- Specified by:
configureStatement
in interfaceConfigurableStatement<R>
-
deleteFrom
public static <R> DeleteDSL<R> deleteFrom(Function<DeleteModel, R> adapterFunction, SqlTable table, String tableAlias) -
deleteFrom
-
deleteFrom
-