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

Function parseCommand

packages/client/lib/commands/BITOP.ts:9–18  ·  view source on GitHub ↗
(
    parser: CommandParser,
    operation: BitOperations,
    destKey: RedisArgument,
    key: RedisVariadicArgument
  )

Source from the content-addressed store, hash-verified

7export default {
8 IS_READ_ONLY: false,
9 parseCommand(
10 parser: CommandParser,
11 operation: BitOperations,
12 destKey: RedisArgument,
13 key: RedisVariadicArgument
14 ) {
15 parser.push('BITOP', operation);
16 parser.pushKey(destKey);
17 parser.pushKeys(key);
18 },
19 transformReply: undefined as unknown as () => NumberReply
20} 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