Skip to main content

If the hash field does not exist, it is set to 0 before performing the operation.

Arguments#

keystrrequired#

The key of the hash.

fieldstrrequired#

The field to increment

incrementint#

How much to increment the field by. Can be negative to subtract.

Response#

intrequired

The new value of the field after the increment.