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

19 lines
523 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: false,
/**
* Removes all keys from the current database
* @param parser - The Redis command parser
* @param mode - Optional flush mode (ASYNC or SYNC)
*/
parseCommand(parser, mode) {
parser.push('FLUSHDB');
if (mode) {
parser.push(mode);
}
},
transformReply: undefined
};
//# sourceMappingURL=FLUSHDB.js.map