InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > QueryApi > queryRows
Executes the query and receives table metadata and rows through the supplied consumer.
Signature:
queryRows(query: string | ParameterizedQuery, consumer: FluxResultObserver<string[]>): void;
Parameter | Type | Description |
---|---|---|
query | string | ParameterizedQuery | query |
consumer | FluxResultObserver<string[]> | result rows and error consumer |
Returns:
void