await redis.zremrangebylex("key", "alpha", "omega")
Remove all members in a sorted set between the given lexicographical range.
The key of the sorted set
The minimum lexicographical value to remove.
The maximum lexicographical value to remove.
The number of elements removed from the sorted set.
Was this page helpful?