promql.emptyTable() function

promql.emptyTable() returns an empty table, which is used as a helper function to implement PromQL’s time() and vector() functions.

Important: The internal/promql package is not meant for external use.

Function type signature
() => stream[{_value: float, _time: time, _stop: time, _start: time}]
For more information, see Function type signatures.

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.