Options used by InfluxDBClient.default.query and by InfluxDBClient.default.queryPoints.
const data = client.query('SELECT * FROM drive', 'ev_onboard_45ae770c', { type: 'sql', headers: { 'one-off': 'totl', // one-off query header 'change-on': 'shift1', // over-write universal value }, params: { point: 'a7', action: 'reverse', }, }) Copy
const data = client.query('SELECT * FROM drive', 'ev_onboard_45ae770c', { type: 'sql', headers: { 'one-off': 'totl', // one-off query header 'change-on': 'shift1', // over-write universal value }, params: { point: 'a7', action: 'reverse', }, })
Optional
Custom headers to add to the request.
Parameters to accompany a query using them.
Type of query being sent, e.g. 'sql' or 'influxql'.
Options used by InfluxDBClient.default.query and by InfluxDBClient.default.queryPoints.
Example: QueryOptions in queryCall