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

Fix incrby documentation #141

Merged
merged 1 commit into from Jun 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/latest/yedis/api/incrby.md
Expand Up @@ -14,9 +14,9 @@ showAsideToc: true
---

## Synopsis
<b>`INCR key`</b><br>
This command adds 1 to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer.
<li>If the `key` does not exist, the associated string is set to "0".</li>
<b>`INCRBY key delta`</b><br>
This command adds `delta` to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer.
<li>If the `key` does not exist, the associated string is set to "0" before performing the operation.</li>
<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>

## Return Value
Expand Down