v3 InfluxQL query executor for legacy query compatibility.
Each function is the InfluxElixir facade function of the same operation:
it takes a connection or a connection name, and queries emit the same
telemetry span.
InfluxQL is supported in InfluxDB v3 for backwards compatibility with v1/v2 query patterns.
Usage
InfluxElixir.Query.InfluxQL.query(conn,
"SELECT mean(value) FROM cpu WHERE time > now() - 1h GROUP BY time(5m)"
)
Summary
Functions
Executes an InfluxQL query and returns parsed results.
Functions
@spec query( InfluxElixir.Client.connection(), binary(), keyword() ) :: InfluxElixir.Client.query_result()
Executes an InfluxQL query and returns parsed results.
Options
:database- override the default database