1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Files
node-redis/packages/client/lib/commands/FLUSHALL.ts

17 lines
298 B
TypeScript

export enum RedisFlushModes {
ASYNC = 'ASYNC',
SYNC = 'SYNC'
}
export function transformArguments(mode?: RedisFlushModes): Array<string> {
const args = ['FLUSHALL'];
if (mode) {
args.push(mode);
}
return args;
}
export declare function transformReply(): string;