public interface UpdateWhereStep<R extends Record> extends UpdateFinalStep<R>, UpdateReturningStep<R>
Update
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.update(table)
.set(field1, value1)
.set(field2, value2)
.where(field1.greaterThan(100))
.execute();
Modifier and Type | Method and Description |
---|---|
UpdateConditionStep<R> |
where(java.util.Collection<? extends Condition> conditions)
Add conditions to the query, connecting them with each other with
Operator.AND . |
UpdateConditionStep<R> |
where(Condition... conditions)
Add conditions to the query, connecting them with each other with
Operator.AND . |
UpdateConditionStep<R> |
where(Field<java.lang.Boolean> condition)
Add conditions to the query
|
UpdateConditionStep<R> |
where(java.lang.String sql)
Add conditions to the query
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity.
|
UpdateConditionStep<R> |
where(java.lang.String sql,
java.lang.Object... bindings)
Add conditions to the query
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity.
|
UpdateConditionStep<R> |
where(java.lang.String sql,
QueryPart... parts)
Add conditions to the query
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity.
|
UpdateConditionStep<R> |
whereExists(Select<?> select)
Add an EXISTS clause to the query
|
UpdateConditionStep<R> |
whereNotExists(Select<?> select)
Add a NOT EXISTS clause to the query
|
bind, bind, cancel, close, execute, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, detach
returning, returning, returning
@Support UpdateConditionStep<R> where(Condition... conditions)
Operator.AND
.@Support UpdateConditionStep<R> where(java.util.Collection<? extends Condition> conditions)
Operator.AND
.@Support UpdateConditionStep<R> where(Field<java.lang.Boolean> condition)
@Support @PlainSQL UpdateConditionStep<R> where(java.lang.String sql)
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
DSL.condition(String)
@Support @PlainSQL UpdateConditionStep<R> where(java.lang.String sql, java.lang.Object... bindings)
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
DSL.condition(String, Object...)
@Support @PlainSQL UpdateConditionStep<R> where(java.lang.String sql, QueryPart... parts)
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
DSL.condition(String, QueryPart...)
@Support UpdateConditionStep<R> whereExists(Select<?> select)
@Support UpdateConditionStep<R> whereNotExists(Select<?> select)
Copyright © 2015. All Rights Reserved.