Permissive SQL DDL Parser
export function tokenizer(input: string): Token[];
export function parser(tokens: Token[]): Statement[];
export function DDLParser(input: string): Statement[];
Name | Type |
---|---|
tokenizer | Function |
parser | Function |
DDLParser | Function |
$ yarn add @dineug/sql-ddl-parser
or
$ npm install @dineug/sql-ddl-parser
import { DDLParser } from "@dineug/sql-ddl-parser";
const statements = DDLParser("sql ddl...");