InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > QueryApi > queryLines
Executes the query and receives result lines (including empty and annotation lines) through the supplied consumer. See annotated-csv.
Signature:
queryLines(query: string | ParameterizedQuery, consumer: CommunicationObserver<string>): void;
Parameter | Type | Description |
---|---|---|
query | string | ParameterizedQuery | query |
consumer | CommunicationObserver<string> | csv result lines and error consumer |
Returns:
void