Documentation

iox.from() function

The iox.from() function is experimental and subject to change at any time. By using this function, you accept the risks of experimental functions.

iox.from() is in active development and has not been fully implemented. This function acts as a placeholder as the implementation is completed.

iox.from() queries data from the specified bucket and measurement in an IOx storage node.

import "experimental/iox"

iox.from(
    bucket: "example-bucket",
    measurement: "example-measurement",
)

Output data is “pivoted” on the time column and includes columns for each returned tag and field per time value.

Parameters

bucket

IOx bucket to read data from.

measurement

Measurement to read data from.


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.