tags without quotation marks
Robert-Steiner opened this issue · 2 comments
Hey, first of all, thank you very much for the great work.
I have a question about the InfluxDbWriteable derive. I updated the influxdb crate to 0.1.0 a few days ago.
I'm now using the InfluxDbWriteable derive instead of creating a write query. Everything works as it should, but I've noticed that the string field that I've marked as #tag
is saved with quotation marks. (instead of saving abc
, my influxdb instance saves the value "abc"
.
Is the a way to store the tag field without quotation marks?
Hello Robert. Thanks for opening this issue!
This behavior was likely introduced in 90f5f95 (Pull Request #55) with some further improvements in cb7f08c where the escapting code was adapted to match the expected behavior from InfluxDB docs.
Could you post a code snippet that is causing the wrong behavior?
Hey, thanks for your response. I created a small example https://github.com/Robert-Steiner/influxdb-tags