public interface DeleteWhereStep<R extends Record> extends DeleteReturningStep<R>
Delete
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.delete(table)
.where(field1.greaterThan(100))
.execute();
Modifier and Type | Method and Description |
---|---|
DeleteConditionStep<R> |
where(java.lang.Boolean condition)
Deprecated.
- 3.8.0 - [#4763] - Use
where(Condition...) or
where(Field) instead. Due to ambiguity between
calling this method using Field.equals(Object)
argument, vs. calling the other method via a
Field.equal(Object) argument, this method will be
removed in the future. |
DeleteConditionStep<R> |
where(java.util.Collection<? extends Condition> conditions)
Add conditions to the query, connecting them with each other with
Operator.AND . |
DeleteConditionStep<R> |
where(Condition... conditions)
Add conditions to the query, connecting them with each other with
Operator.AND . |
DeleteConditionStep<R> |
where(Field<java.lang.Boolean> condition)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(SQL sql)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(java.lang.String sql)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(java.lang.String sql,
java.lang.Object... bindings)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(java.lang.String sql,
QueryPart... parts)
Add conditions to the query.
|
DeleteConditionStep<R> |
whereExists(Select<?> select)
Add an EXISTS clause to the query.
|
DeleteConditionStep<R> |
whereNotExists(Select<?> select)
Add a NOT EXISTS clause to the query.
|
returning, returning, returning
bind, bind, cancel, close, execute, executeAsync, executeAsync, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, configuration, detach
@Support DeleteConditionStep<R> where(Condition... conditions)
Operator.AND
.@Support DeleteConditionStep<R> where(java.util.Collection<? extends Condition> conditions)
Operator.AND
.@Support DeleteConditionStep<R> where(Field<java.lang.Boolean> condition)
@Deprecated @Support DeleteConditionStep<R> where(java.lang.Boolean condition)
where(Condition...)
or
where(Field)
instead. Due to ambiguity between
calling this method using Field.equals(Object)
argument, vs. calling the other method via a
Field.equal(Object)
argument, this method will be
removed in the future.@Support @PlainSQL DeleteConditionStep<R> where(SQL 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(SQL)
,
SQL
@Support @PlainSQL DeleteConditionStep<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)
,
SQL
@Support @PlainSQL DeleteConditionStep<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!
@Support @PlainSQL DeleteConditionStep<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!
@Support DeleteConditionStep<R> whereExists(Select<?> select)
@Support DeleteConditionStep<R> whereNotExists(Select<?> select)
Copyright © 2018. All Rights Reserved.