0.1.0 • Published 4 months ago

oracle-sql-parser v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

oracle-sql-parser

Simple SQL parser and AST explorer for Oracle SQL following the Oracle Database Language Reference.

Usage

Install the package:

npm i oracle-sql-parser

Parse and print:

const { Parser } = require('oracle-sql-parser');

const parser = new Parser();

const sql = 'CREATE TABLE users (id integer);';
const ast = parser.parse(sql);

console.log(ast);

Run locally

git clone https://github.com/1ilit/oracle-sql-parser.git
cd oracle-sql-parser
npm i
npm test

Scripts

Generate the parser in ./build/parser.js

npm run generate

Generate and minify the parser in ./build/parser.js

npm run build
0.1.0

4 months ago

0.0.7

6 months ago

0.0.6

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago

0.0.0

6 months ago