Skip to content

Commit

Permalink
Fix DECRBY in raw-string.md (#311)
Browse files Browse the repository at this point in the history
Co-authored-by: Tal Zaccai <talzacc@microsoft.com>
  • Loading branch information
ioib and TalZaccai authored Apr 23, 2024
1 parent 6e1ba04 commit 22369e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/commands/raw-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Integer reply: the value of the key after decrementing it.
#### Syntax

```bash
DECR key decrement
DECRBY key decrement
```

Decrements the number stored at key by the value of parameter `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.
Expand Down Expand Up @@ -243,4 +243,4 @@ Returns the length of the string value stored at **key**.
#### Resp Reply
* Integer reply: the length of the string stored at key, or 0 when the key does not exist.
* Integer reply: the length of the string stored at key, or 0 when the key does not exist.

0 comments on commit 22369e5

Please sign in to comment.