redis.set("key", 6) assert redis.incrby("key", 4) == 10
Increment the integer value of a key by a given number.
Was this page helpful?