Documentation

toDuration() function

Flux 0.7.0 – 0.37.0

toDuration() was removed in Flux 0.37.

The toDuration() function converts all values in the _value column to durations.

toDuration()

Supported data types: String | Integer | Uinteger

duration() assumes numeric input values are nanoseconds. String input values must use duration literal representation.

Parameters

tables

Input data. Default is piped-forward data (<-).


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.