Skip to content
masterclass Buddy

Upstash · Method

redis.incrby

INCRBY adds an integer to the number stored at a Redis key and returns the new value. A missing key starts at zero.

Last updated

Syntax

INCRBY <key> <increment>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • DECRBY
  • INCR
  • INCRBYFLOAT

Source: INCRBY - Upstash Documentation. Checked 2026-11-03.