InfluxDB2\FluxRecord getValue() can spit out a PHP “Undefined Index” Notice
Closed this issue · 1 comments
bramus commented
When executing a query that yields no _value
, calling getValue()
on a InfluxDB2\FluxRecord
spits out a PHP Notice:
Undefined index: _value in vendor/influxdata/influxdb-client-php/src/InfluxDB2/FluxRecord.php on line 45
This should be suppressed, as a returned record might not contain this field (e.g. after a map, column drop, pivot, etc.)
bramus commented
Oops, wrong repo … should be https://github.com/influxdata/influxdb-client-php/ 😅