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

Function parseCommand

packages/client/lib/commands/SUNIONSTORE.ts:7–11  ·  view source on GitHub ↗
(parser: CommandParser, destination: RedisArgument, keys: RedisVariadicArgument)

Source from the content-addressed store, hash-verified

5export default {
6 IS_READ_ONLY: false,
7 parseCommand(parser: CommandParser, destination: RedisArgument, keys: RedisVariadicArgument) {
8 parser.push('SUNIONSTORE');
9 parser.pushKey(destination);
10 parser.pushKeys(keys);
11 },
12 transformReply: undefined as unknown as () => NumberReply
13} as const satisfies Command;

Callers

nothing calls this directly

Calls 3

pushKeyMethod · 0.80
pushKeysMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected