File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- Decrements the number stored at ` key ` by ` decrement ` .
2
- If the key does not exist, it is set to ` 0 ` before performing the operation.
3
- An error is returned if the key contains a value of the wrong type or contains a
4
- string that can not be represented as integer.
5
- This operation is limited to 64 bit signed integers.
1
+ The ` DECRBY ` command reduces the value stored at the specified ` key ` by the specified ` decrement ` .
2
+ If the key does not exist, it is initialized with a value of ` 0 ` before performing the operation.
3
+ If the key's value is not of the correct type or cannot be represented as an integer, an error is returned.
4
+ This operation is limited to ** 64-bit** signed integers.
6
5
7
6
See ` INCR ` for extra information on increment/decrement operations.
8
7
You can’t perform that action at this time.
0 commit comments