From 9e732816a8e0ef6d18ba0e4c4670c2a08d406d48 Mon Sep 17 00:00:00 2001 From: Amitanand Aiyer Date: Fri, 14 Jun 2019 10:35:15 -0700 Subject: [PATCH] fix incrby --- content/latest/yedis/api/incrby.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/latest/yedis/api/incrby.md b/content/latest/yedis/api/incrby.md index 3c4d35c2..d478bdd1 100644 --- a/content/latest/yedis/api/incrby.md +++ b/content/latest/yedis/api/incrby.md @@ -14,9 +14,9 @@ showAsideToc: true --- ## Synopsis -`INCR key`
-This command adds 1 to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer. -
  • If the `key` does not exist, the associated string is set to "0".
  • +`INCRBY key delta`
    +This command adds `delta` to the number that is associated with the given `key`. The numeric value must a 64-bit signed integer. +
  • If the `key` does not exist, the associated string is set to "0" before performing the operation.
  • 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.
  • ## Return Value