You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
17 lines
298 B
TypeScript
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;
|