X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/e9f0b930fecb02ef9fa025e78da5b3338b36f03b..b78fd80f1e6c445b8b7d0a3058e4fe4a8cc25062:/doc/IncrCommand.html diff --git a/doc/IncrCommand.html b/doc/IncrCommand.html index 676d06cb..5479e5f9 100644 --- a/doc/IncrCommand.html +++ b/doc/IncrCommand.html @@ -16,7 +16,7 @@
Increment or decrement the number stored at key by one. If the key doesnot exist or contains a value of a wrong type, set the key to thevalue of "0" before to perform the increment or decrement operation.
INCRBY and DECRBY work just like INCR and DECR but instead toincrement/decrement by 1 the increment/decrement is integer.-
INCR commands are limited to 64 bit signed integers.+Note: this is actually a string operation, that is, in Redis there are not "integer" types. Simply the string stored at the key is parsed as a base 10 64 bit signed integer, incremented, and then converted back as a string.