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

Function parseCommand

packages/client/lib/commands/TOUCH.ts:7–10  ·  view source on GitHub ↗
(parser: CommandParser, key: RedisVariadicArgument)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

pushKeysMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected