TS.REVRANGE
Since 1.1.0Time series
Syntax
TS.REVRANGE key fromTimestamp toTimestamp [...]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"
Since 1.1.0Time series
TS.REVRANGE key fromTimestamp toTimestamp [...]TS.RANGE, newest first, with the same options.
> TS.REVRANGE temp:1 - + COUNT 2
1) 1) (integer) 4000
2) "23"
2) 1) (integer) 3000
2) "22.5"