UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

23 lines 485 B
import Unary from './Unary'; export default class UnqualifiedColumn extends Unary { 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; } } //# sourceMappingURL=UnqualifiedColumn.js.map