UNPKG

rawsql-ts

Version:

High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.

13 lines (12 loc) 385 B
import { CreateSchemaStatement } from "../models/DDLStatements"; import { Lexeme } from "../models/Lexeme"; /** * Parses CREATE SCHEMA statements. */ export declare class CreateSchemaParser { static parse(sql: string): CreateSchemaStatement; static parseFromLexeme(lexemes: Lexeme[], index: number): { value: CreateSchemaStatement; newIndex: number; }; }