Redis · Command
ZREVRANGE
Returns members from a Redis sorted set by rank, from highest score to lowest. The range uses zero-based, inclusive indexes and can include scores.
Last updated
- Since
- 1.2.0
Syntax
ZREVRANGE key start stop [WITHSCORES]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ZRANGEZADDZREVRANKZREVRANGEBYSCOREZREVRANGEBYLEX