@sequeljs/ast
Version:
A SQL AST manager for JavaScript
27 lines • 625 B
JavaScript
import Node from './Node';
export default class DeleteStatement extends Node {
get relation() {
return this.left;
}
set relation(val) {
this.left = val;
}
get wheres() {
return this.right;
}
set wheres(val) {
this.right = val;
}
constructor(relation = null, wheres = []) {
super();
this.key = null;
this.limit = null;
this.offset = null;
this.orders = [];
this.left = null;
this.right = [];
this.left = relation;
this.right = wheres;
}
}
//# sourceMappingURL=DeleteStatement.js.map