Arguments
string
required
The key of the json entry.
string
required
The path of the array.
$ is the root.Response
The length of the array.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const length = await redis.json.arrlen("key", "$.path.to.array");
Report the length of the JSON array at path in key.
$ is the root.const length = await redis.json.arrlen("key", "$.path.to.array");
Was this page helpful?