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

Function parseCommand

packages/client/lib/commands/RENAME.ts:6–9  ·  view source on GitHub ↗
(parser: CommandParser, key: RedisArgument, newKey: RedisArgument)

Source from the content-addressed store, hash-verified

4export default {
5 IS_READ_ONLY: true,
6 parseCommand(parser: CommandParser, key: RedisArgument, newKey: RedisArgument) {
7 parser.push('RENAME');
8 parser.pushKeys([key, newKey]);
9 },
10 transformReply: undefined as unknown as () => SimpleStringReply
11} as const satisfies Command;

Callers

nothing calls this directly

Calls 2

pushKeysMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected