Function
parseCommand
(parser: CommandParser, key: RedisArgument, indices: number | string | Array<number | string>)
Source from the content-addressed store, hash-verified
| 4 | export default { |
| 5 | IS_READ_ONLY: true, |
| 6 | parseCommand(parser: CommandParser, key: RedisArgument, indices: number | string | Array<number | string>) { |
| 7 | parser.push('ARMGET'); |
| 8 | parser.pushKey(key); |
| 9 | if (Array.isArray(indices)) { |
| 10 | for (const i of indices) parser.push(i.toString()); |
| 11 | } else { |
| 12 | parser.push(indices.toString()); |
| 13 | } |
| 14 | }, |
| 15 | transformReply: undefined as unknown as () => ArrayReply<BlobStringReply | NullReply> |
| 16 | } as const satisfies Command; |
Callers
nothing calls this directly
Tested by
no test coverage detected