Deprecated
as a consequence of DeleteOrderByStep being deprecated. See corresponding docs for further information.
Delete's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.delete(table)
.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 DeleteConditionStep | where(Condition condition)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
Condition and DeleteConditionStep being deprecated.
Operator#AND.
|
| public @NotNull DeleteConditionStep | where(Condition... conditions)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
Condition and DeleteConditionStep being deprecated.
Operator#AND.
|
| public @NotNull DeleteConditionStep | where(Collection<? extends Condition> conditions)
Deprecated
as a consequence of
Add conditions to the query, connecting them with each other with
DeleteConditionStep being deprecated.
Operator#AND.
|
| public @NotNull DeleteConditionStep | where(Field<Boolean> condition)
Deprecated
as a consequence of
Add conditions to the query.
Field and DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | where(SQL sql)
Deprecated
as a consequence of
Add conditions to the query.
DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | where(String sql)
Deprecated
as a consequence of
Add conditions to the query.
DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | where(String sql, Object... bindings)
Deprecated
as a consequence of
Add conditions to the query.
DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | where(String sql, QueryPart... parts)
Deprecated
as a consequence of
Add conditions to the query.
DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | whereExists(Select<?> select)
Deprecated
as a consequence of
Add an EXISTS clause to the query.
DeleteConditionStep being deprecated.
|
| public @NotNull DeleteConditionStep | whereNotExists(Select<?> select)
Deprecated
as a consequence of
Add a NOT EXISTS clause to the query.
DeleteConditionStep being deprecated.
|
| where | back to summary |
|---|---|
| public @NotNull DeleteConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull DeleteConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull DeleteConditionStep Deprecated as a consequence of Add conditions to the query, connecting them with each other with
| |
| where | back to summary |
|---|---|
| public @NotNull DeleteConditionStep Deprecated as a consequence of Add conditions to the query.
| |
| where | back to summary |
|---|---|
| public @NotNull DeleteConditionStep 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 DeleteConditionStep 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 DeleteConditionStep 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 DeleteConditionStep 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 DeleteConditionStep Deprecated as a consequence of Add an EXISTS clause to the query.
| |
| whereNotExists | back to summary |
|---|---|
| public @NotNull DeleteConditionStep Deprecated as a consequence of Add a NOT EXISTS clause to the query.
| |