Arguments
str
required
The key of the json entry.
str
default:"$"
The path of the array.
number
required
The number to increment by.
Response
The new value after incrementing
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
newValue = redis.json.numincrby("key", "$.path.to.array", 2)
Increment the number value stored at path by number.
newValue = redis.json.numincrby("key", "$.path.to.array", 2)
Was this page helpful?