redis.set("key", 6) assert redis.incr("key") == 7
Increment the integer value of a key by one
Was this page helpful?