Initial commit - Event Planner application
This commit is contained in:
11
node_modules/kysely/dist/cjs/parser/savepoint-parser.js
generated
vendored
Normal file
11
node_modules/kysely/dist/cjs/parser/savepoint-parser.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseSavepointCommand = parseSavepointCommand;
|
||||
const identifier_node_js_1 = require("../operation-node/identifier-node.js");
|
||||
const raw_node_js_1 = require("../operation-node/raw-node.js");
|
||||
function parseSavepointCommand(command, savepointName) {
|
||||
return raw_node_js_1.RawNode.createWithChildren([
|
||||
raw_node_js_1.RawNode.createWithSql(`${command} `),
|
||||
identifier_node_js_1.IdentifierNode.create(savepointName), // ensures savepointName gets sanitized
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user