Json
JSON.ARRAPPEND
Append values to the array at path in the JSON document at key.
await redis.json.arrappend("key", "$.path.to.array", "a");
Arguments
key
string
requiredThe key of the json entry.
path
string
default: "$"The path of the array.
value
...TValue[]
requiredOne or more values to append to the array.
Response
The length of the array after the appending.
Was this page helpful?
await redis.json.arrappend("key", "$.path.to.array", "a");