sedk-postgres
Version:
Simple SQL builder and validator
17 lines (16 loc) • 752 B
TypeScript
import { Artifacts } from './steps/BaseStep';
import { Column } from './database';
import { BuilderData } from './builder';
import { Binder, BinderStore } from './binder';
import { Asterisk } from './singletoneConstants';
import { ColumnLike } from './steps';
import { ItemInfo } from './ItemInfo';
import { TableAsterisk } from './TableAsterisk';
export type ReturningItem = ColumnLike | Binder | Asterisk | TableAsterisk;
export declare class ReturningItemInfo extends ItemInfo {
private readonly returningItem;
readonly alias?: string | undefined;
constructor(returningItem: ReturningItem, alias?: string | undefined);
getColumns(): Column[];
getStmt(data: BuilderData, artifacts: Artifacts, binderStore: BinderStore): string;
}