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

Function parseCommand

packages/client/lib/commands/GEOPOS.ts:8–12  ·  view source on GitHub ↗
(parser: CommandParser, key: RedisArgument, member: RedisVariadicArgument)

Source from the content-addressed store, hash-verified

6 CACHEABLE: true,
7 IS_READ_ONLY: true,
8 parseCommand(parser: CommandParser, key: RedisArgument, member: RedisVariadicArgument) {
9 parser.push('GEOPOS');
10 parser.pushKey(key);
11 parser.pushVariadic(member);
12 },
13 transformReply(reply: UnwrapReply<ArrayReply<TuplesReply<[BlobStringReply, BlobStringReply]> | NullReply>>) {
14 return reply.map(item => {
15 const unwrapped = item as unknown as UnwrapReply<typeof item>;

Callers

nothing calls this directly

Calls 3

pushKeyMethod · 0.80
pushVariadicMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected