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

16 lines
629 B
TypeScript

import { CommandParser } from '../client/parser';
import { SimpleStringReply } from '../RESP/types';
import { RedisFlushMode } from './FLUSHALL';
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly 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)
*/
readonly parseCommand: (this: void, parser: CommandParser, mode?: RedisFlushMode) => void;
readonly transformReply: () => SimpleStringReply;
};
export default _default;
//# sourceMappingURL=FLUSHDB.d.ts.map