influxdb-client-js

InfluxDB 2.0 JavaScript client

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

Home > @influxdata/influxdb-client > FluxTableMetaData > toObject

FluxTableMetaData.toObject() method

Creates an object out of the supplied row with the help of column descriptors.

Signature:

toObject(row: string[]): {
        [key: string]: any;
    };

Parameters

Parameter Type Description
row string[] a row with data for each column

Returns:

{ [key: string]: any; }