@brigand/n1ql
v0.1.1
Published
parse couchbase's n1ql syntax
Downloads
11
Readme
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/n1qlIt 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');