1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Files
node-redis/packages/client/lib/commands/EXISTS.ts
Leibale Eidelman d34cb9c07b fix #1819 - fix EXISTS reply (#1820)
* fix #1819 - fix EXISTS reply

* fix for f3f946fd9a - "fix" tests
2022-01-11 11:45:50 -05:00

15 lines
427 B
TypeScript

import { RedisCommandArgument, RedisCommandArguments } from '.';
import { pushVerdictArguments } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export const IS_READ_ONLY = true;
export function transformArguments(
keys: RedisCommandArgument | Array<RedisCommandArgument>
): RedisCommandArguments {
return pushVerdictArguments(['EXISTS'], keys);
}
export declare function transformReply(): number;