XREVRANGE
Returns stream entries in descending ID order within a range.
Streams · Example verified
Syntax covered here
XREVRANGE key end startThe full-range case supplies + before - and contains one entry.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> XADD events 1-0 event created
"1-0"
# connection: default
> XREVRANGE events + -
[["1-0",["event","created"]]]