Initialize the query using an Entity type and an Entity instance (a model).
Used for accessing columns in tables.
Used for accessing tables in the database.
Used for accessing relationships between tables.
Used for pulling table property maps (used in conjunction with the relStore to get remote columns).
An Escaper matching the database type (e.g. MySQLEscaper or MSSQLEscaper). Used when escaping column names in compiled conditions.
An Executer instance that matches the database type (e.g. MySQLExecuter).
The type of model to update, which is the constructor of a Table-decorated class.
An Entity instance to update, which must have the primary key set.
The type of model to update, which is the constructor of a Table-decorated class.
Used for accessing columns in tables.
An Escaper matching the database type (e.g. MySQLEscaper or MSSQLEscaper). Used when escaping column names in compiled conditions.
An Executer instance that matches the database type (e.g. MySQLExecuter).
An Entity instance to update, which must have the primary key set.
Used for pulling table property maps (used in conjunction with the relStore to get remote columns).
Used for accessing relationships between tables.
Used for accessing tables in the database.
Build the query.
The string-representation of the query to execute along with query parameters.
Create a model that is suitable for use with an Update query. This should be called from a child class's produceQuery method.
Execute the query.
A promise that shall be resolved with the mutated model.
Produce an Update instance that's appropriate for the database (e.g. a MySQLUpdate).
Get the SQL that represents the query.
The SQL representing the mutation.
Generated using TypeDoc
A Query that represents an UPDATE query and is used for updating an entity.