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

Method pushKeysLength

packages/client/lib/client/parser.ts:140–147  ·  view source on GitHub ↗
(keys: RedisVariadicArgument)

Source from the content-addressed store, hash-verified

138 }
139
140 pushKeysLength(keys: RedisVariadicArgument) {
141 if (Array.isArray(keys)) {
142 this.#redisArgs.push(keys.length.toString());
143 } else {
144 this.#redisArgs.push('1');
145 }
146 this.pushKeys(keys);
147 }
148
149 pushKeys(keys: RedisVariadicArgument) {
150 if (Array.isArray(keys)) {

Callers 9

parser.spec.tsFile · 0.80
parseZMPopArgumentsFunction · 0.80
parseCommandFunction · 0.80
parseLMPopArgumentsFunction · 0.80
parseCommandFunction · 0.80
parseCommandFunction · 0.80
parseEvalArgumentsFunction · 0.80
parseCommandFunction · 0.80
parseCommandFunction · 0.80

Calls 3

pushKeysMethod · 0.95
toStringMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected