redis.set("key", 6) assert redis.decr("key") == 5
Decrement the integer value of a key by one
Was this page helpful?