XRANGE
Returns stream entries in ascending ID order within a range.
Streams · Example verified
Syntax covered here
XRANGE key start endThe tested endpoints - and + select the entire stream.
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
> XRANGE events - +
[["1-0",["event","created"]]]