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