influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-apis > Duration

Duration interface

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 

Properties

Property Modifiers Type Description
magnitude?   number (Optional)
type?   NodeType (Optional)
unit?   string (Optional)