public interface DeleteWhereStep<R extends Record> extends DeleteFinalStep<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(Collection<? extends Condition> conditions)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(Condition... conditions)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(Field<Boolean> condition)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(String sql)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(String sql,
Object... bindings)
Add conditions to the query.
|
DeleteConditionStep<R> |
where(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.
|
bind, bind, cancel, close, execute, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, detach
@Support DeleteConditionStep<R> where(Condition... conditions)
@Support DeleteConditionStep<R> where(Collection<? extends Condition> conditions)
@Support DeleteConditionStep<R> where(Field<Boolean> condition)
@Support DeleteConditionStep<R> where(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 DeleteConditionStep<R> where(String sql, 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 DeleteConditionStep<R> where(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 DeleteConditionStep<R> whereExists(Select<?> select)
@Support DeleteConditionStep<R> whereNotExists(Select<?> select)
Copyright © 2014. All Rights Reserved.