schema package

The schema package provides functions for exploring your InfluxDB data schema. Import the influxdata/influxdb/schema package:

import "influxdata/influxdb/schema"


Not supported in the Flux REPL

schema functions can retrieve schema information when executed within the context of InfluxDB, but not from the Flux REPL.

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.