Print query execution time in milliseconds when logging SQL.
The fields to insert / update. Defaults to all fields
Run before / after bulk update hooks?
Defaults to true
Run before / after update hooks?. If true, this will execute a SELECT followed by individual UPDATEs. A select is needed, because the row data needs to be passed to the hooks
Defaults to false
How many rows to update (only for mysql and mariadb)
A function that gets executed while running the query to log the sql.
Append RETURNING * to get back auto generated values (Postgres only)
Whether or not to update the side effects of any virtual setters.
Defaults to true
If true, the updatedAt timestamp will not be updated.
Transaction to run query under
Run validations before the row is inserted
Options to describe the scope of the search.
Generated using TypeDoc
Options used for Model.update