Arguments
str
required
The key to decrement.
int
required
The amount to increment by.
Response
The value at the key after the incrementing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.set("key", 6)
assert redis.incrby("key", 4) == 10
Increment the integer value of a key by a given number.
redis.set("key", 6)
assert redis.incrby("key", 4) == 10
Was this page helpful?