summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zincrby.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:19:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:19:32 +0000
commit7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch)
tree87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/zincrby.md
parentAdding upstream version 1.12.1. (diff)
downloadiredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz
iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/zincrby.md')
-rw-r--r--iredis/data/commands/zincrby.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/iredis/data/commands/zincrby.md b/iredis/data/commands/zincrby.md
index 0ac8a89..0b8ccf0 100644
--- a/iredis/data/commands/zincrby.md
+++ b/iredis/data/commands/zincrby.md
@@ -1,14 +1,15 @@
Increments the score of `member` in the sorted set stored at `key` by
-`increment`. If `member` does not exist in the sorted set, it is added with
-`increment` as its score (as if its previous score was `0.0`). If `key` does not
-exist, a new sorted set with the specified `member` as its sole member is
-created.
+`increment`.
+If `member` does not exist in the sorted set, it is added with `increment` as
+its score (as if its previous score was `0.0`).
+If `key` does not exist, a new sorted set with the specified `member` as its
+sole member is created.
An error is returned when `key` exists but does not hold a sorted set.
The `score` value should be the string representation of a numeric value, and
-accepts double precision floating point numbers. It is possible to provide a
-negative value to decrement the score.
+accepts double precision floating point numbers.
+It is possible to provide a negative value to decrement the score.
@return