Skip to content

Commit f53b714

Browse files
committed
fix issues 2591 redis#2591
1 parent 1df0c2f commit f53b714

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: commands/decrby.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
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.
65

76
See `INCR` for extra information on increment/decrement operations.
87

0 commit comments

Comments
 (0)