-first commit
This commit is contained in:
19
node_modules/@redis/search/dist/lib/commands/ALTER.js
generated
vendored
Normal file
19
node_modules/@redis/search/dist/lib/commands/ALTER.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const CREATE_1 = require("./CREATE");
|
||||
exports.default = {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Alters an existing RediSearch index schema by adding new fields.
|
||||
* @param parser - The command parser
|
||||
* @param index - The index to alter
|
||||
* @param schema - The schema definition containing new fields to add
|
||||
*/
|
||||
parseCommand(parser, index, schema) {
|
||||
parser.push('FT.ALTER', index, 'SCHEMA', 'ADD');
|
||||
(0, CREATE_1.parseSchema)(parser, schema);
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=ALTER.js.map
|
||||
Reference in New Issue
Block a user