Duva - Distributed Cache Server

INCRBY

Increments the integer value stored at key by increment.

Syntax

INCRBY key increment

If the key doesn’t exist, it is initialized to 0 before performing the operation. The value must be parsable as an integer or an error will be returned.

Example

INCRBY key increment

Return value: Integer reply - the value after incrementation

Notes