You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
add missing FIRST_KEY_INDEX (#2028)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { RedisCommandArguments } from '.';
|
||||
import { pushVerdictArguments } from './generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
export function transformArguments(key: string | Array<string>): RedisCommandArguments {
|
||||
return pushVerdictArguments(['WATCH'], key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user