Files
module4_backend_project/node_modules/@redis/search/dist/commands/ALTER.js
T

11 lines
345 B
JavaScript
Raw Normal View History

2025-02-11 15:06:41 +01:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformArguments = void 0;
const _1 = require(".");
function transformArguments(index, schema) {
const args = ['FT.ALTER', index, 'SCHEMA', 'ADD'];
(0, _1.pushSchema)(args, schema);
return args;
}
exports.transformArguments = transformArguments;