Json
JSON.MGET
Get the same path from multiple JSON documents.
Arguments
keysbody...string[]required
One or more keys of JSON documents.
pathbodystringrequired
The path to get from the JSON document. $ is the root.
Response
TValue[]required
The values at the specified path or null if the path does not exist.
Example
const values = await redis.json.mget(["key1", "key2"], "$.path.to.somewhere");