Skip to content

Update InfluxDB's docs and UI to use new await query pattern #610

@ivankudibal

Description

@ivankudibal

The #592 introduces possibility to use await queries instead of callbacks:

for await (const {values, tableMeta} of queryApi.iterateRows(fluxQuery)){
   // consume a particular row at will 
  console.log(JSON.stringify(tableMeta.toObject(values)))
}

We have to update the InfluxDB's docs and UI:

http://localhost:8086 > Load Data > Sources > Client Libraries > Javascript/Node.js
Image

https://docs.influxdata.com/influxdb/v2.4/api-guide/client-libraries/nodejs/query/
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions