redis and sorted_set | Mar 5, 2016
Removes all elements in the sorted set stored at key
with rank between start
and stop
.
Both start
and stop
are 0
-based indexes with 0
being the element with
the lowest score.
These indexes can be negative numbers, where they indicate offsets starting at
the element with the highest score.
For example: -1
is the element with the highest score, -2
the element with
the second highest score and so forth.
redis and sorted_set | Mar 5, 2016
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command removes all elements in the sorted set stored at key
between the lexicographical range specified by min
and max
.
redis and sorted_set | Mar 5, 2016
Removes the specified members from the sorted set stored at key
.
Non existing members are ignored.
redis and sorted_set | Mar 5, 2016
Returns the rank of member
in the sorted set stored at key
, with the scores
ordered from low to high.
The rank (or index) is 0-based, which means that the member with the lowest
score has rank 0
.
redis and sorted_set | Mar 5, 2016
Returns all the elements in the sorted set at key
with a score between min
and max
(including elements with score equal to min
or max
).
The elements are considered to be ordered from low to high scores.
redis and sorted_set | Mar 5, 2016
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key
with a value between min
and max
.