influx2_delete()

Read(2455) Label: delete, influxdb2,

Description:

Delete data in InfluxDB2.

Syntax:

influx2_delete(hd,beginTime,endTime,deleteStatement,bucket,organization)

Note:

The external library function (See External Library Guide) deletes data from InfluxDB2. It is valid only with InfluxDB 2.x.

Parameter:

hd

The connection object

beginTime

The starting time

endTime

The ending time

deleteStatement

The delete statement

Return value:

The string successfully deleted or that should have been deleted

Example:

 

A

1

=influx2_open("http://localhost:8086?org=esprocOrg&bucket=test1&token=ZHL...fxWg==")

2

=influx2_delete(A1,"2022-03-30 01:01:01","2022-03-31 01:01:01","","test1","esprocOrg")

3

=insert_close(A1)