Deprecated
as a consequence of UpdateOrderByStep being deprecated. See corresponding docs for further information.
Update's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.update(table)
.set(field1, value1)
.set(field2, value2)
.where(field1.greaterThan(100))
.execute();
XYZ*Step types directly from client code
It is usually not recommended to reference any XYZ*Step types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step types directly:
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull UpdateConditionStep | where(Condition condition)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
Condition and UpdateConditionStep being deprecated.
Operator#AND.
|
| public @NotNull UpdateConditionStep | where(Condition... conditions)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
Condition and UpdateConditionStep being deprecated.
Operator#AND.
|
| public @NotNull UpdateConditionStep | where(Collection<? extends Condition> conditions)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
UpdateConditionStep being deprecated.
Operator#AND.
|
| public @NotNull UpdateConditionStep | where(Field<Boolean> condition)
Deprecated
as a consequence of
Add conditions to the query
Field and UpdateConditionStep being deprecated.
|
| public @NotNull UpdateConditionStep | where(SQL sql)
Deprecated
as a consequence of
Add conditions to the queryUpdateConditionStep being deprecated.
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | where(String sql)
Deprecated
as a consequence of
Add conditions to the queryUpdateConditionStep being deprecated.
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | where(String sql, Object... bindings)
Deprecated
as a consequence of
Add conditions to the queryUpdateConditionStep being deprecated.
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | where(String sql, QueryPart... parts)
Deprecated
as a consequence of
Add conditions to the queryUpdateConditionStep being deprecated.
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | whereExists(Select<?> select)
Deprecated
as a consequence of
Add an EXISTS clause to the query
UpdateConditionStep being deprecated.
|
| public @NotNull UpdateConditionStep | whereNotExists(Select<?> select)
Deprecated
as a consequence of
Add a NOT EXISTS clause to the query
UpdateConditionStep being deprecated.
|
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query 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!
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query 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!
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query 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!
| |
| where | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add conditions to the query 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!
| |
| whereExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add an EXISTS clause to the query
| |
| whereNotExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Add a NOT EXISTS clause to the query
| |