1.3 KiB
1.3 KiB
title | description | aliases | weight | flux/v0.x/tags | related | introduced | removed | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
toDuration() function | The `toDuration()` function converts all values in the `_value` column to durations. |
|
102 |
|
|
0.7.0 | 0.37.0 |
{{% warn %}}
toDuration()
was removed in Flux 0.37.
{{% /warn %}}
The toDuration()
function converts all values in the _value
column to durations.
toDuration()
Supported data types: String | Integer | Uinteger
{{% note %}}
duration()
assumes numeric input values are nanoseconds.
String input values must use duration literal representation.
{{% /note %}}
Parameters
tables
Input data.
Default is piped-forward data (<-
).