Flux Query package
The Query package is experimental and subject to change at any time. By using this package, you accept the risks of experimental functions.
Flux Query functions provide functions meant to simplify common InfluxDB queries.
The primary function in this package is
which uses all other functions in this package.
import "experimental/query" query.inBucket( bucket: "example-bucket", start: -1h, stop: now(), measurement: "example-measurement", fields: ["exampleField1", "exampleField2"], predicate: (r) => r.tagA == "foo" and r.tagB != "bar" )
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.