UNPKG

ddl-manager

Version:

store postgres procedures and triggers in files

22 lines 783 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CacheWithoutInsertOn = void 0; const psql_lang_1 = require("psql-lang"); class CacheWithoutInsertOn extends psql_lang_1.AbstractNode { static entry(cursor) { return cursor.beforePhrase("without", "insert"); } static parse(cursor) { cursor.readPhrase("without", "insert", "case", "on"); const withoutInsertOn = cursor.parse(psql_lang_1.TableReference); return { withoutInsertOn }; } template() { return [ ...["without", "insert", "case", "on"].map(psql_lang_1.keyword), this.row.withoutInsertOn ]; } } exports.CacheWithoutInsertOn = CacheWithoutInsertOn; //# sourceMappingURL=CacheWithoutInsertOn.js.map