InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-giraffe > csvToTable
Transforms annotated CSV query response to Giraffe’s Table.
Signature:
declare function csvToTable(csv: string, tableFactory: GiraffeTableFactory, tableOptions?: TableOptions): Table;
Parameter | Type | Description |
---|---|---|
csv | string | annotated CSV flux query response |
tableFactory | GiraffeTableFactory | creates a new Giraffe table |
tableOptions | TableOptions | (Optional) tableOptions allows to filter or even stop the processing of rows, specify maximum rows or restrict the columns to collect. |
Returns:
Table
a new Table instance