@sequeljs/ast
Version:
A SQL AST manager for JavaScript
32 lines • 831 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const JoinSource_1 = require("./JoinSource");
const Node_1 = require("./Node");
class SelectCore extends Node_1.default {
constructor() {
super(...arguments);
this.comment = null;
this.groups = [];
this.havings = [];
this.optimizerHints = null;
this.projections = [];
this.setQuantifier = null;
this.source = new JoinSource_1.default(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;
}
}
exports.default = SelectCore;
//# sourceMappingURL=SelectCore.js.map