Arguments
str
required
The key of the sorted set
str
required
The minimum lexicographical value to remove.
str
required
The maximum lexicographical value to remove.
Response
The number of elements removed from the sorted set.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.zremrangebylex("key", "alpha", "omega")
Remove all members in a sorted set between the given lexicographical range.
redis.zremrangebylex("key", "alpha", "omega")
Was this page helpful?