UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

16 lines 394 B
import And from '../nodes/And'; import Grouping from '../nodes/Grouping'; import Not from '../nodes/Not'; import Or from '../nodes/Or'; export default class NodeMethods { and(right) { return new And([this, right]); } not() { return new Not(this); } or(right) { return new Grouping(new Or(this, right)); } } //# sourceMappingURL=NodeMethods.js.map