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