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