UNPKG

@devbro/sql-generator

Version:
18 lines (15 loc) 791 B
import { Blueprint, Column } from './Blueprint.js'; import { P as Parameter, C as CompiledSql } from './types-C_aDrXJN.js'; declare class SchemaGrammar { toSql(blueprint: Blueprint): string; compileColumn(column: Column): string; escape(value: Parameter): string; compilePrimaryKeys(primaryKeys: string[]): string; compileTables(schema?: string | string[] | undefined): CompiledSql; compileTableExists(tableName: string, schema?: string): CompiledSql; compileDropTable(tableName: string): CompiledSql; protected compileSchemaWhereClause(schema: string | string[] | undefined, column: string): string; protected quoteString(value: string | string[]): string; protected doubleQuoteString(value: string | string[]): string; } export { SchemaGrammar };