influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client > QueryApi > queryRows

QueryApi.queryRows() method

Executes the query and receives table metadata and rows through the supplied consumer.

Signature:

queryRows(query: string | ParameterizedQuery, consumer: FluxResultObserver<string[]>): void;

Parameters

Parameter Type Description
query string | ParameterizedQuery query
consumer FluxResultObserver<string[]> result rows and error consumer

Returns:

void