summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zscore.md
blob: 8b1e74dd88a9f6acc630a375354b7931560b10d1 (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"
```