Top Description
org.jooq

public Interface Update<R extends org.jooq.Record>

extends DMLQuery<R extends Record>
Known Direct Subinterfaces
org.jooq.UpdateFinalStep, org.jooq.UpdateQuery
Imports
org.jooq.impl.DSL

An UPDATE statement.

Example:


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

using(configuration)
   .update(CUSTOMER)
   .set(CUSTOMER.STATUS, "Gold")
   .where(CUSTOMER.ID.eq(1))
   .execute();

Instances can be created using DSL#update(Table), or DSLContext#updateQuery(Table) and overloads.

Author
Lukas Eder