TS.DEL

Since 1.1.0Time series

Syntax

TS.DEL key fromTimestamp toTimestamp
  • Flags: write
  • ACL categories: @slow, @timeseries, @write
  • Arity: -2

Deletes the samples of the time series at key from fromTimestamp to toTimestamp, both included.

Reply

  • The number of samples deleted.

Examples

> TS.DEL temp:1 1000 2000
(integer) 2