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