Package org.mybatis.dynamic.sql.delete
Class DeleteDSL<R>
java.lang.Object
org.mybatis.dynamic.sql.dsl.AbstractDeleteDSL<R,DeleteDSL<R>>
org.mybatis.dynamic.sql.delete.DeleteDSL<R>
- All Implemented Interfaces:
OrderByOperations<DeleteDSL<R>>,WhereOperations<AbstractDeleteDSL<R,,DeleteDSL<R>>.DeleteWhereBuilder> Buildable<R>,ConfigurableStatement<DeleteDSL<R>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mybatis.dynamic.sql.dsl.AbstractDeleteDSL
AbstractDeleteDSL.DeleteWhereBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()WARNING!static <R> DeleteDSL<R>deleteFrom(Function<DeleteModel, R> adapterFunction, SqlTable table, @Nullable String tableAlias) static DeleteDSL<DeleteModel>deleteFrom(SqlTable table) static DeleteDSL<DeleteModel>deleteFrom(SqlTable table, String tableAlias) getThis()Methods inherited from class org.mybatis.dynamic.sql.dsl.AbstractDeleteDSL
applyWhere, buildDeleteModel, configureStatement, limit, limitWhenPresent, orderBy, where, whereMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.dsl.OrderByOperations
orderBy
-
Method Details
-
build
WARNING! Calling this method could result in a delete statement that deletes all rows in a table.- Returns:
- the model class
-
getThis
- Specified by:
getThisin classAbstractDeleteDSL<R,DeleteDSL<R>>
-
deleteFrom
public static <R> DeleteDSL<R> deleteFrom(Function<DeleteModel, R> adapterFunction, SqlTable table, @Nullable String tableAlias) -
deleteFrom
-
deleteFrom
-