rawsql-ts
Version:
[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.
13 lines (12 loc) • 406 B
TypeScript
import { DropConstraintStatement } from "../models/DDLStatements";
import { Lexeme } from "../models/Lexeme";
/**
* Parses standalone DROP CONSTRAINT statements.
*/
export declare class DropConstraintParser {
static parse(sql: string): DropConstraintStatement;
static parseFromLexeme(lexemes: Lexeme[], index: number): {
value: DropConstraintStatement;
newIndex: number;
};
}