import { InsertQueryBuilder } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/query-builder/InsertQueryBuilder.ts";
Allows to build complex sql queries in a fashion way and execute those queries.
Methods
Creates a columns string where values must be inserted to for INSERT INTO expression.
Creates INSERT express used to perform insert query.
Creates list of values needs to be inserted in the VALUES expression.
Gets list of columns where values must be inserted to.
Gets array of values need to be inserted into the target table.
Executes sql generated by query builder and returns raw database results.
Gets generated sql query without parameters being replaced.
Specifies INTO which entity's table insertion will be executed.
Adds additional ON CONFLICT statement supported in postgres and cockroach.
Adds additional ignore statement supported in databases.
Adds additional update statement supported in databases.
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 insertion operations. This may produce extra query or use RETURNING / OUTPUT statement (depend on database). Enabled by default.
Values needs to be inserted into table.