Module org.jooq
Package org.jooq

Interface Delete<R extends Record>

All Superinterfaces:
Attachable, AttachableQueryPart, DMLQuery<R>, Flow.Publisher<Integer>, Publisher<Integer>, org.reactivestreams.Publisher<Integer>, Query, QueryPart, RowCountQuery, Serializable, Statement
All Known Subinterfaces:
DeleteConditionStep<R>, DeleteFinalStep<R>, DeleteLimitStep<R>, DeleteOrderByStep<R>, DeleteQuery<R>, DeleteReturningStep<R>, DeleteUsingStep<R>, DeleteWhereStep<R>

public interface Delete<R extends Record> extends DMLQuery<R>
A DELETE statement.

Example:


 // Assuming import static org.jooq.impl.DSL.*;

 using(configuration)
    .deleteFrom(ACTOR)
    .where(ACTOR.ACTOR_ID.in(1, 2, 3))
    .execute();
 

Instances can be created using DSL.deleteFrom(Table), DSLContext.deleteFrom(Table), or DSLContext.deleteQuery(Table) and overloads.

Author:
Lukas Eder