Upstash Documentation

JSON.ARRAPPEND

Append values to the array at path in the JSON document at key.
1 min read
Tip

To specify a string as an array value to append, wrap the quoted string with an additional set of single quotes. Example: '"silver"'.

Arguments#

keystringrequired#

The key of the json entry.

pathstringrequired#

The path of the array. $ is the root.

value...TValue[]required#

One or more values to append to the array.

Response#