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