Initialize the query using a From instance.
An Executer instance that matches the database type (e.g. MySQLExecuter).
A From instance which holds the base table, all joined-in tables, and the where clause.
An object containing key-value pairs. Each key must correspond to a fully-qualified property (<table-alias>.<property>), and each associated value is the value to update in the database.
An Executer instance that matches the database type (e.g. MySQLExecuter).
A From instance which holds the base table, all joined-in tables, and the where clause.
An object containing key-value pairs. Each key must correspond to a fully-qualified property (<table-alias>.<property>), and each associated value is the value to update in the database.
Build the query.
The string-representation of the query to execute along with query parameters.
Execute the query.
A promise that shall be resolved with an object containing an "affectedRows" property. If an error occurs when executing the query, the returned promise shall be rejected with the error (unmodified).
Convert the query to a string.
The SQL string.
Generated using TypeDoc
A Query that represents an UPDATE.