mysql-ast-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Mysql Parser

example

import { ANTLRInputStream, CommonTokenStream } from 'antlr4ts';
import { MySqlLexer, MySqlParser, QuerySpecificationContext } from 'mysql-parser';

const qs = 'select a and b or c'
const { ast, syntaxErrors } = parse(qs)
console.log(ast, syntaxErrors)

Package Sidebar

Install

npm i mysql-ast-parser

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

1.5 MB

Total Files

18

Last publish

Collaborators

  • yangxyang