influx2_open()

Read(1871) Label: connect, influxdb2,

Description:

Connect to InfluxDB2.

Syntax:

influx2_open(url)

Note:

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

Parameters:

url

The connection URL, containing information such as server address, port number, organization, bucket, token for authenticating a user agent and timeout parameters

Return value:

Database connection object

Example:

 

A

1

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

2

=influx2_close(A1)