Skip to content

tags without quotation marks #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Robert-Steiner opened this issue Apr 5, 2020 · 2 comments · Fixed by #64
Closed

tags without quotation marks #60

Robert-Steiner opened this issue Apr 5, 2020 · 2 comments · Fixed by #64

Comments

@Robert-Steiner
Copy link
Contributor

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?

@Empty2k12
Copy link
Collaborator

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?

@Robert-Steiner
Copy link
Contributor Author

Hey, thanks for your response. I created a small example https://github.com/Robert-Steiner/influxdb-tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants