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

Function parseCommand

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

Source from the content-addressed store, hash-verified

8export default {
9 IS_READ_ONLY: false,
10 parseCommand(parser: CommandParser, key: RedisArgument, id: RedisVariadicArgument) {
11 parser.push('XDEL');
12 parser.pushKey(key);
13 parser.pushVariadic(id);
14 },
15 transformReply: undefined as unknown as () => NumberReply
16} 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