import { QueryBuilder } from "./QueryBuilder"; import { ObjectLiteral } from "../common/ObjectLiteral"; import { ObjectType } from "../common/ObjectType"; import { QueryPartialEntity } from "./QueryPartialEntity"; /** * Allows to build complex sql queries in a fashion way and execute those queries. */ export declare class InsertQueryBuilder extends QueryBuilder { /** * Gets generated sql query without parameters being replaced. */ getQuery(): string; /** * Optional returning/output clause. */ output(output: string): this; /** * Specifies INTO which entity's table insertion will be executed. */ into(entityTarget: ObjectType | string): InsertQueryBuilder; /** * Values needs to be inserted into table. */ values(values: QueryPartialEntity): this; /** * Values needs to be inserted into table. */ values(values: QueryPartialEntity[]): this; /** * Optional returning/output clause. */ returning(returning: string): this; /** * Creates INSERT express used to perform insert query. */ protected createInsertExpression(): string; /** * Gets array of values need to be inserted into the target table. */ protected getValueSets(): ObjectLiteral[]; }