TS.REVRANGE

Since 1.1.0Time series

Syntax

TS.REVRANGE key fromTimestamp toTimestamp [...]
  • Flags: readonly
  • ACL categories: @read, @slow, @timeseries
  • Arity: -2

TS.RANGE, newest first, with the same options.

Examples

> TS.REVRANGE temp:1 - + COUNT 2
1) 1) (integer) 4000
   2) "23"
2) 1) (integer) 3000
   2) "22.5"