Files
micro-service-api/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js
2025-11-11 12:36:06 +07:00

17 lines
562 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Updates the index pointed to by an existing alias.
* @param parser - The command parser
* @param alias - The existing alias to update
* @param index - The new index name that the alias should point to
*/
parseCommand(parser, alias, index) {
parser.push('FT.ALIASUPDATE', alias, index);
},
transformReply: undefined
};
//# sourceMappingURL=ALIASUPDATE.js.map