Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit 6dbf96d

Browse files
amitanandaiyerrkarthik007
authored andcommitted
fix incrby (#141)
1 parent 9fe4cca commit 6dbf96d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/latest/yedis/api/incrby.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ showAsideToc: true
1414
---
1515

1616
## Synopsis
17-
<b>`INCR key`</b><br>
18-
This command adds 1 to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer.
19-
<li>If the `key` does not exist, the associated string is set to "0".</li>
17+
<b>`INCRBY key delta`</b><br>
18+
This command adds `delta` to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer.
19+
<li>If the `key` does not exist, the associated string is set to "0" before performing the operation.</li>
2020
<li>If the given `key` is associated with a non-string value, or if its associated string cannot be converted to an integer, an error is raised.</li>
2121

2222
## Return Value

0 commit comments

Comments
 (0)