incr

Increment a numerical key’s value by the given number if the key/value pair exists.

syntax:

incr <key> <value> [noreply]

parameters

example:

incr mykey 4

5

output notes:

possible errors: