summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/zremrangebyscore.md
blob: fdf9a9869cb44b6d72173e98fe982b8dba8c7723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Removes all elements in the sorted set stored at `key` with a score between
`min` and `max` (inclusive).

@return

@integer-reply: the number of elements removed.

@examples

```cli
ZADD myzset 1 "one"
ZADD myzset 2 "two"
ZADD myzset 3 "three"
ZREMRANGEBYSCORE myzset -inf (2
ZRANGE myzset 0 -1 WITHSCORES
```