import { UpdateQueryBuilder } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/query-builder/UpdateQueryBuilder.ts";
Allows to build complex sql queries in a fashion way and execute those queries.
Methods
Creates "LIMIT" parts of SQL query.
Creates "ORDER BY" part of SQL query.
Creates UPDATE express used to perform insert query.
Gets array of values need to be inserted into the target table.
Adds ORDER BY condition in the query builder.
Adds new AND WHERE condition in the query builder. Additionally you can add parameters used in where expression.
Adds new AND WHERE with conditions for the given ids.
Executes sql generated by query builder and returns raw database results.
Gets generated sql query without parameters being replaced.
Sets LIMIT - maximum number of rows to be selected.
Sets ORDER BY condition in the query builder. If you had previously ORDER BY expression defined, calling this function will override previously set ORDER BY conditions.
Calling order by without order set will remove all previously set order bys.
Sets ORDER BY condition in the query builder. If you had previously ORDER BY expression defined, calling this function will override previously set ORDER BY conditions.
Sets ORDER BY condition in the query builder. If you had previously ORDER BY expression defined, calling this function will override previously set ORDER BY conditions.
Adds new OR WHERE condition in the query builder. Additionally you can add parameters used in where expression.
Adds new OR WHERE with conditions for the given ids.
Optional returning/output clause. This will return given column values.
Optional returning/output clause. Returning is a SQL string containing returning statement.
Optional returning/output clause.
Optional returning/output clause. This will return given column values.
Optional returning/output clause. Returning is a SQL string containing returning statement.
Optional returning/output clause.
Indicates if entity must be updated after update operation. This may produce extra query or use RETURNING / OUTPUT statement (depend on database). Enabled by default.
Sets WHERE condition in the query builder. If you had previously WHERE expression defined, calling this function will override previously set WHERE conditions. Additionally you can add parameters used in where expression.
Indicates if entity must be updated after update operation. This may produce extra query or use RETURNING / OUTPUT statement (depend on database). Enabled by default.
Adds new AND WHERE with conditions for the given ids.