InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > FluxTableMetaData > toObject
Creates an object out of the supplied row with the help of column descriptors.
Signature:
toObject(row: string[]): {
[key: string]: any;
};
Parameter | Type | Description |
---|---|---|
row | string[] | a row with data for each column |
Returns:
{ [key: string]: any; }