Arguments
string
required
The key of the sorted set
string
required
The minimum lexicographical value to remove.
string
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.
await redis.zremrangebylex("key", "alpha", "omega")
Remove all members in a sorted set between the given lexicographical range.
await redis.zremrangebylex("key", "alpha", "omega")
Was this page helpful?