1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

some commands

This commit is contained in:
Leibale
2023-05-09 14:04:26 +03:00
parent a6c0d1dbb3
commit d59254e497
21 changed files with 295 additions and 235 deletions

View File

@@ -8,6 +8,8 @@ export const REDIS_FLUSH_MODES = {
export type RedisFlushModes = typeof REDIS_FLUSH_MODES[keyof typeof REDIS_FLUSH_MODES];
export default {
FIRST_KEY_INDEX: undefined,
IS_READ_ONLY: false,
transformArguments(mode?: RedisFlushModes) {
const args = ['FLUSHALL'];