TS.DELETERULE
Syntax
TS.DELETERULE sourceKey destKey
- Available in:
- Redis Stack / TimeSeries 1.0.0
- Time complexity:
- O(1)
Delete a compaction rule
Required arguments
sourceKey
is key name for the source time series.
destKey
is key name for destination (compacted) time series.
Return value
Returns one of these replies:
- Simple string reply -
OK
if executed correctly - Error reply on error (invalid arguments, etc.), or when such rule does not exist