Skip to content

Commit 8a62341

Browse files
committed
Influxdb is not supported null value for fields
see influxdata/influxdb#2429
1 parent c361ced commit 8a62341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InfluxDB/Point.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function setFields($fields)
155155
} elseif (is_bool($field)) {
156156
$field = ($field ? "true" : "false");
157157
} elseif (is_null($field)) {
158-
$field = ("null");
158+
$field = $this->escapeFieldValue("null");
159159
}
160160
}
161161

0 commit comments

Comments
 (0)