summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zmscore.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/zmscore.md')
-rw-r--r--iredis/data/commands/zmscore.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/iredis/data/commands/zmscore.md b/iredis/data/commands/zmscore.md
new file mode 100644
index 0000000..69818fb
--- /dev/null
+++ b/iredis/data/commands/zmscore.md
@@ -0,0 +1,18 @@
+Returns the scores associated with the specified `members` in the sorted set
+stored at `key`.
+
+For every `member` that does not exist in the sorted set, a `nil` value is
+returned.
+
+@return
+
+@array-reply: list of scores or `nil` associated with the specified `member`
+values (a double precision floating point number), represented as strings.
+
+@examples
+
+```cli
+ZADD myzset 1 "one"
+ZADD myzset 2 "two"
+ZMSCORE myzset "one" "two" "nofield"
+```