Json
JSON.ARRAPPEND
Append values to the array at path in the JSON document at key.
To specify a string as an array value to append, wrap the quoted string with an additional set of single quotes. Example: '"silver"'.
Arguments
keybodystringrequired
The key of the json entry.
pathbodystringrequired
The path of the array. $ is the root.
valuebody...TValue[]required
One or more values to append to the array.
Response
integer[]required
The length of the array after the appending.
Example
await redis.json.arrappend("key", "$.path.to.array", "a");