const length = await redis.json.arrlen("key", "$.path.to.array");
Report the length of the JSON array at path in key.
path
key
The key of the json entry.
The path of the array.
The length of the array.
Was this page helpful?