Json

JSON.STRAPPEND

Append the json-string values to the string at path.

Arguments

keybodystringrequired

The key of the json entry.

pathbodystringrequired

The path of the value. $ is the root.

valuebodystringrequired

The value to append to the existing string.

Response

integer[]required

The length of the array after the appending.

Example
await redis.json.strappend("key", "$.path.to.str", "abc");
Loading search…