XREVRANGE key end start [COUNT count]

#Example

redis> XADD writers \* name Virginia surname Woolf
"1609040579130-0"
redis> XADD writers \* name Jane surname Austen
"1609040579130-1"
redis> XADD writers \* name Toni surname Morrison
"1609040579130-2"
redis> XADD writers \* name Agatha surname Christie
"1609040579131-0"
redis> XADD writers \* name Ngozi surname Adichie
"1609040579131-1"
redis> XLEN writers
(integer) 5
redis> XREVRANGE writers + - COUNT 1
1) 1) "1609040579131-1"
   2) 1) "name"
      2) "Ngozi"
      3) "surname"
      4) "Adichie"

Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE

Comments