ZremrangebyscoreCommand: Contents
ZREMRANGEBYSCORE _key_ _min_ _max_ (Redis >
Return value

# ZremrangebyscoreCommand

ï»¿#sidebar SortedSetCommandsSidebar

# ZREMRANGEBYSCORE _key_ _min_ _max_ (Redis >

1.1) = Time complexity: O(log(N))+O(M) with N being the number of elements in the sorted set and M the number of elements removed by the operation

> Remove 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).

## Return value

Integer reply, specifically the number of elements removed.