public interface DeleteReturningStep<R extends Record>
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(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 . |
@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(Collection<? extends Field<?>> fields)
DELETE
statement to return a list of fields in
R
.fields
- Fields to be returnedUpdateResultStep
Copyright © 2016. All Rights Reserved.