Arguments
str
required
The key of the json entry.
str
required
The path of the number.
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.value", 2)
Increment the number value stored at path by number.
newValue = redis.json.numincrby("key", "$.path.to.value", 2)
Was this page helpful?