InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > QueryApi > queryRaw
QueryRaw executes a query and returns the full response as a string. Use with caution, a possibly huge stream is copied to memory.
Signature:
queryRaw(query: string | ParameterizedQuery): Promise<string>;
Parameter | Type | Description |
---|---|---|
query | string | ParameterizedQuery | query |
Returns:
Promise<string>
Promise of response text