await redis.set("key", 6); await redis.decrby("key", 4); // returns 2
Decrement the integer value of a key by a given number.
Was this page helpful?