redis.zremrangebyrank("key", 4, 20)
Remove all members in a sorted set between the given ranks.
Was this page helpful?