UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

20 lines 487 B
import Node from './Node'; export default class UpdateStatement extends Node { constructor() { super(...arguments); this.key = null; this.limit = null; this.offset = null; this.orders = []; this.relation = null; this.values = []; this.wheres = []; } set value(expr) { this.values.push(expr); } set where(expr) { this.wheres.push(expr); } } //# sourceMappingURL=UpdateStatement.js.map