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

19 lines
605 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Resets a Redis Cluster node, clearing all information and returning it to a brand new state
* @param parser - The Redis command parser
* @param options - Options for the reset operation
*/
parseCommand(parser, options) {
parser.push('CLUSTER', 'RESET');
if (options?.mode) {
parser.push(options.mode);
}
},
transformReply: undefined
};
//# sourceMappingURL=CLUSTER_RESET.js.map