influx2_query()

Read(4578) Label: query, influxdb2,

Description:

Query InfluxDB 2 database.

Syntax:

influx2_query(url,InfluxQL)

Note:

The external library function (See External Library Guide) queries an InfluxDB2 database. It is possible that the result set is made up multiple table sequences of different structures. It is valid only with InfluxDB 2.x.

Parameter:

url

The connection URL.

InfluxQL

The Influx query statement.

Return value:

Query result set

Example:

 

A

1

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

2

=influx2_query(A1,"from(bucket:\"test1\") |> range(start: 0)"

3

=influx2_close(A1)