0.1.1 • Published 4 years ago

@brigand/n1ql v0.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

This package allows parsing n1ql into an abstract syntax tree. It will throw an error if the input is invalid.

npm install @brigand/n1ql

# or

yarn add @brigand/n1ql

It simply exports a function that converts the provided query string to an AST.

const parseN1ql = require('@brigand/n1ql');

const ast = parseN1Ql('SELECT * FROM some-table');