UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

29 lines 705 B
import JoinSource from './JoinSource'; import Node from './Node'; export default class SelectCore extends Node { constructor() { super(...arguments); this.comment = null; this.groups = []; this.havings = []; this.optimizerHints = null; this.projections = []; this.setQuantifier = null; this.source = new JoinSource(null); this.wheres = []; this.windows = []; } get from() { return this.source.left; } set from(val) { this.source.left = val; } get froms() { return this.from; } set froms(val) { this.from = val; } } //# sourceMappingURL=SelectCore.js.map