-
Notifications
You must be signed in to change notification settings - Fork 478
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
Add support for parameter binding to built queries #1010
base: master
Are you sure you want to change the base?
Conversation
…so that they can be used with built queries, and added support for that. Decoupled requiresPost from parameters, as they are unrelated. Made InfluxDBService more consistent, by making all query methods use GET, and all postQuery methods use POST.
@majst01, are these failures real? I can't figure out what they mean. |
There has been no CI build for a long time, so i dont know |
Ok, figured it out - I introduced an overloading bug while reworking |
Nice, can you add the relevant changes to the documentation ? |
Improve test
Done. Also, improved the test a bit. |
I tend to merge this PR as the very last one before archiving this repo, WDYT ? |
From my perspective, there's still no viable alternative to InfluxQL v1 (Flux is effectively deprecated, and OSS v3 is in beta), so this library is very much in prime time. Am I missing something? |
Pulled up bound parameter support from
BoundParameterQuery
toQuery
, so that they can be used with built queries, and added support for that.Also:
requiresPost
from parameters, as they are unrelatedInfluxDBService
more consistent, by making allquery
methods useGET
, and allpostQuery
methods usePOST
Fixes #1009.