UNPKG

sedk-mysql

Version:
31 lines (30 loc) 1.59 kB
import { Column, Table } from '../../database'; import { Artifacts, BaseStep } from '../BaseStep'; import { PrimitiveType } from '../../models'; import { Binder } from '../../binder'; import { SelectItem, SelectStep } from '../select-path/SelectStep'; import { SelectItemInfo } from '../../SelectItemInfo'; import { Default } from '../../singletoneConstants'; import { ValuesStep } from './ValuesStep'; export declare abstract class IntoStep extends BaseStep { values(value: (PrimitiveType | Binder | Default), ...values: (PrimitiveType | Binder | Default)[]): ValuesStep; values$(value: PrimitiveType, ...values: PrimitiveType[]): ValuesStep; select(...items: (SelectItemInfo | SelectItem | PrimitiveType)[]): SelectStep; protected abstract throwWhenInvalidExpressionsNumber(items: (SelectItemInfo | SelectItem | PrimitiveType)[]): void; } export declare class IntoTableStep extends IntoStep { readonly table: Table; constructor(prevStep: BaseStep, table: Table); getStepStatement(artifacts?: Artifacts): string; getStepArtifacts(): Artifacts; private selfCall; protected throwWhenInvalidExpressionsNumber(items: (SelectItemInfo | SelectItem | PrimitiveType)[]): void; } export declare class IntoColumnsStep extends IntoStep { readonly columns: Column[]; prefixSeparator: string; constructor(prevStep: BaseStep, columns: Column[]); getStepStatement(artifacts?: Artifacts): string; getStepArtifacts(): Artifacts; protected throwWhenInvalidExpressionsNumber(items: (SelectItemInfo | SelectItem | PrimitiveType)[]): void; }