Deprecated
as a consequence of UpdateReturningStep 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 UpdateReturningStep | limit(Number numberOfRows)
Deprecated
as a consequence of
Add a UpdateReturningStep being deprecated.
LIMIT clause to the query.
|
| public @NotNull UpdateReturningStep | limit(Field<? extends Number> numberOfRows)
Deprecated
as a consequence of
Add a Field and UpdateReturningStep being deprecated.
LIMIT clause to the query.
|
| limit | back to summary |
|---|---|
| public @NotNull UpdateReturningStep Deprecated as a consequence of Add a
| |
| limit | back to summary |
|---|---|
| public @NotNull UpdateReturningStep Deprecated as a consequence of Add a
| |