INCR
Synopsis
INCR key
This command adds 1 to the number that is associated with the given key
. The numeric value must a 64-bit signed integer.
Return value
Returns the value after addition.
Examples
$ SET yugakey 7
"OK"
$ INCR yugakey
8
See also
append
, get
, getrange
, getset
, incrby
, set
, setrange
, strlen