Skip to content

postgrelize / UpdateStatementOptions

Type Alias: UpdateStatementOptions<T> ​

UpdateStatementOptions<T> = WriteStatementOptions<T> & Readonly<{ silent?: boolean; }>

Defined in: src/model/statement-builder.ts:35

postgrelize extension

Options of Model.updateStatement(). PostgreSQL extension.

Type Parameters ​

T ​

T = Values

Example ​

ts
const options: UpdateStatementOptions<Task> = { where: { id: 1 }, returning: true, silent: true };

Released under the MIT License.