@sqb/builder
Version:
Extensible multi-dialect SQL query builder written with TypeScript
24 lines (23 loc) • 773 B
TypeScript
import { SerializationType } from '../enums.js';
import { SerializeContext } from '../serialize-context.js';
import type { RawStatement } from '../sql-objects/raw-statement.js';
import { TableName } from '../sql-objects/table-name.js';
import { ReturningQuery } from './returning-query.js';
export declare class InsertQuery extends ReturningQuery {
_table: TableName | RawStatement;
_input: any;
constructor(tableName: string | RawStatement, input: any);
get _type(): SerializationType;
/**
* Performs serialization
*/
_serialize(ctx: SerializeContext): string;
/**
*
*/
protected __serializeColumns(ctx: SerializeContext): string;
/**
*
*/
protected __serializeValues(ctx: SerializeContext): string;
}