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

17 lines
543 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Assigns hash slots to the current node in a Redis Cluster
* @param parser - The Redis command parser
* @param slots - One or more hash slots to be assigned
*/
parseCommand(parser, slots) {
parser.push('CLUSTER', 'ADDSLOTS');
parser.pushVariadicNumber(slots);
},
transformReply: undefined
};
//# sourceMappingURL=CLUSTER_ADDSLOTS.js.map