public interface UpdateReturningStep<R extends Record>
Update
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
TableRecord> record =
create.update(table)
.set(field1, value1)
.set(field2, value2)
.returning(field1)
.fetchOne();
This implemented differently for every dialect:
UPDATE .. RETURNING
clausesModifier and Type | Method and Description |
---|---|
UpdateResultStep<R> |
returning()
Configure the
UPDATE statement to return all fields in
R . |
UpdateResultStep<R> |
returning(Collection<? extends Field<?>> fields)
Configure the
UPDATE statement to return a list of fields in
R . |
UpdateResultStep<R> |
returning(Field<?>... fields)
Configure the
UPDATE statement to return a list of fields in
R . |
@Support(value={FIREBIRD,POSTGRES}) UpdateResultStep<R> returning()
UPDATE
statement to return all fields in
R
.UpdateResultStep
@Support(value={FIREBIRD,POSTGRES}) UpdateResultStep<R> returning(Field<?>... fields)
UPDATE
statement to return a list of fields in
R
.fields
- Fields to be returnedUpdateResultStep
@Support(value={FIREBIRD,POSTGRES}) UpdateResultStep<R> returning(Collection<? extends Field<?>> fields)
UPDATE
statement to return a list of fields in
R
.fields
- Fields to be returnedUpdateResultStep
Copyright © 2014. All Rights Reserved.