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

Function parseCommand

packages/client/lib/commands/SADD.ts:6–10  ·  view source on GitHub ↗
(parser: CommandParser, key: RedisArgument, members: RedisVariadicArgument)

Source from the content-addressed store, hash-verified

4
5export default {
6 parseCommand(parser: CommandParser, key: RedisArgument, members: RedisVariadicArgument) {
7 parser.push('SADD');
8 parser.pushKey(key);
9 parser.pushVariadic(members);
10 },
11 transformReply: undefined as unknown as () => NumberReply
12} as const satisfies Command;

Callers

nothing calls this directly

Calls 3

pushKeyMethod · 0.80
pushVariadicMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected