@sequeljs/ast
Version:
A SQL AST manager for JavaScript
26 lines • 601 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Unary_1 = require("./Unary");
class UnqualifiedColumn extends Unary_1.default {
get attribute() {
return this.expr;
}
set attribute(val) {
this.expr = val;
}
get column() {
return this.name;
}
get name() {
return this.expr.name;
}
get relation() {
return this.expr.relation;
}
constructor(expr) {
super(expr);
this.expr = expr;
}
}
exports.default = UnqualifiedColumn;
//# sourceMappingURL=UnqualifiedColumn.js.map