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

Function parseCommand

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

Source from the content-addressed store, hash-verified

5export default {
6 IS_READ_ONLY: false,
7 parseCommand(parser: CommandParser, key: RedisArgument, count: number) {
8 parser.push('ZPOPMAX');
9 parser.pushKey(key);
10 parser.push(count.toString());
11 },
12 transformReply: transformSortedSetReply
13} as const satisfies Command;

Callers

nothing calls this directly

Calls 3

pushKeyMethod · 0.80
toStringMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected