summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zscore.md
blob: f3204d04547457ac860a9c98b6c5f940fbe1f004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Returns the score of `member` in the sorted set at `key`.

If `member` does not exist in the sorted set, or `key` does not exist, `nil` is
returned.

@return

@bulk-string-reply: the score of `member` (a double precision floating point
number), represented as string.

@examples

```cli
ZADD myzset 1 "one"
ZSCORE myzset "one"
```