You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
15 lines
337 B
TypeScript
15 lines
337 B
TypeScript
import { RedisFlushModes } from './FLUSHALL';
|
|
import { transformReplyString } from './generic-transformers';
|
|
|
|
export function transformArguments(mode?: RedisFlushModes): Array<string> {
|
|
const args = ['FLUSHDB'];
|
|
|
|
if (mode) {
|
|
args.push(mode);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export const transformReply = transformReplyString;
|