Redis · Command
XRANGE
XRANGE returns stream entries whose IDs are within a specified range. You can limit the result count and use inclusive or exclusive boundaries.
Last updated
- Since
- 5.0.0
Syntax
XRANGE key start end [COUNT count]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
XADDXREADXREVRANGEXLENXTRIM