MCPcopy
hub / github.com/redis/node-redis / parseCommand

Function parseCommand

packages/client/lib/commands/ZRANK.ts:7–11  ·  view source on GitHub ↗
(parser: CommandParser, key: RedisArgument, member: RedisArgument)

Source from the content-addressed store, hash-verified

5 CACHEABLE: true,
6 IS_READ_ONLY: true,
7 parseCommand(parser: CommandParser, key: RedisArgument, member: RedisArgument) {
8 parser.push('ZRANK');
9 parser.pushKey(key);
10 parser.push(member);
11 },
12 transformReply: undefined as unknown as () => NumberReply | NullReply
13} as const satisfies Command;

Callers

nothing calls this directly

Calls 2

pushKeyMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected