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