Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify DECRBY command doc #2591

Open
PansonPanson opened this issue Nov 3, 2023 · 0 comments
Open

modify DECRBY command doc #2591

PansonPanson opened this issue Nov 3, 2023 · 0 comments

Comments

@PansonPanson
Copy link

PansonPanson commented Nov 3, 2023

original:

Decrements the number stored at key by decrement.
If the key does not exist, it is set to 0 before performing the operation.
An error is returned if the key contains a value of the wrong type or contains a
string that can not be represented as integer.
This operation is limited to 64 bit signed integers.

modify:

The DECRBY command reduces the value stored at the specified key by the specified decrement.
If the key does not exist, it is initialized with a value of 0 before performing the operation.
If the key's value is not of the correct type or cannot be represented as an integer, an error is returned.
This operation is limited to 64-bit signed integers.

PansonPanson added a commit to PansonPanson/redis-doc that referenced this issue Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants