Hi @Anaisdg,
DELETE and TRUNCATE are only for InfluxQL? Are there any equivalent for Flux, since I presume that is the only query language for InfluxDB 2.0. There is the drop() function for Flux, but I tried the following and it is not working for me. The data is still there:
from(bucket: “aq-raw”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> drop(columns: ["", “_measurement”])
https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/drop/
I guess maybe that query function isn’t needed in 2.0, because you can set the data Retention policy? Even so, I would still like to have that DELETE ALL control on hand just in case.