Upstash · Method
redis.incr
INCR adds one to the integer stored at a key and returns the new value. A missing key is treated as zero, so the first call returns one.
Last updated
Syntax
INCR <key>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
GETSETINCRBYEXPIRE