InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > Duration
A pair consisting of length of time and the unit of time measured. It is the atomic unit from which all duration literals are composed.
Signature:
interface Duration
Property | Modifiers | Type | Description |
---|---|---|---|
magnitude? | number | (Optional) | |
type? | NodeType | (Optional) | |
unit? | string | (Optional) |