public interface DeleteReturningStep<R extends Record> extends DeleteFinalStep<R>
Delete
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.delete(table)
.where(field1.greaterThan(100))
.execute();
This implemented differently for every dialect:
UPDATE .. RETURNING
clausesSELECT .. FROM FINAL TABLE (DELETE ...)
Modifier and Type | Method and Description |
---|---|
DeleteResultStep<R> |
returning()
Configure the
DELETE statement to return all fields in
R . |
DeleteResultStep<R> |
returning(java.util.Collection<? extends Field<?>> fields)
Configure the
DELETE statement to return a list of fields in
R . |
DeleteResultStep<R> |
returning(Field<?>... fields)
Configure the
DELETE statement to return a list of fields in
R . |
bind, bind, cancel, close, execute, executeAsync, executeAsync, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, configuration, detach
@Support(value={DB2,FIREBIRD,ORACLE,POSTGRES}) DeleteResultStep<R> returning()
DELETE
statement to return all fields in
R
.UpdateResultStep
@Support(value={DB2,FIREBIRD,ORACLE,POSTGRES}) DeleteResultStep<R> returning(Field<?>... fields)
DELETE
statement to return a list of fields in
R
.fields
- Fields to be returnedUpdateResultStep
@Support(value={DB2,FIREBIRD,ORACLE,POSTGRES}) DeleteResultStep<R> returning(java.util.Collection<? extends Field<?>> fields)
DELETE
statement to return a list of fields in
R
.fields
- Fields to be returnedUpdateResultStep
Copyright © 2018. All Rights Reserved.