Skip to content

Commit

Permalink
Influxdb is not supported null value for fields
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegp committed Jan 5, 2017
1 parent c361ced commit 8a62341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InfluxDB/Point.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function setFields($fields)
} elseif (is_bool($field)) {
$field = ($field ? "true" : "false");
} elseif (is_null($field)) {
$field = ("null");
$field = $this->escapeFieldValue("null");
}
}

Expand Down

0 comments on commit 8a62341

Please sign in to comment.