UNPKG

rawsql-ts

Version:

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

17 lines (16 loc) 478 B
import { DeleteQuery } from "../models/DeleteQuery"; import { Lexeme } from "../models/Lexeme"; export declare class DeleteQueryParser { /** * Parse SQL string to DeleteQuery AST. * @param query SQL string */ static parse(query: string): DeleteQuery; /** * Parse from lexeme array (for internal use and tests). */ static parseFromLexeme(lexemes: Lexeme[], index: number): { value: DeleteQuery; newIndex: number; }; }