summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zmscore.md
blob: 69818fb782f37099a43f3901f7ade70c7131e4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
```