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