update

@CheckReturnValue
fun <R : UpdatableRecord<R>> DSLContext.update(record: R): UpdateQuery<R>(source)

Creates an update statement to update the given Record. Watch out: this will NOT execute the update!

Return

the update statement

Parameters

R

the type of the record

record

the record to update

Throws

if the record has no primary key