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

21 lines
580 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Constructs the SCRIPT FLUSH command
*
* @param parser - The command parser
* @param mode - Optional flush mode: ASYNC or SYNC
* @see https://redis.io/commands/script-flush/
*/
parseCommand(parser, mode) {
parser.push('SCRIPT', 'FLUSH');
if (mode) {
parser.push(mode);
}
},
transformReply: undefined
};
//# sourceMappingURL=SCRIPT_FLUSH.js.map