-
Notifications
You must be signed in to change notification settings - Fork 160
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
Parameters in queries #153
Comments
Hi Andey! Thank you for asking, right now clickhouse-cpp doesn't support parametrized queries. You are wellcome to submit any of (or all) a PR/API/implementation draft. |
when support parameterized queries? |
Hi @huotianyu and sorry for a late reply. There are no solid date on this, seems like there is not enough interest from community. To get things started, could you propose an API for such a feature? |
Hi @Enmk, @AndreyAlifanov. I was thinking maybe we could introduce parameters in queries in format:
|
Hi guys! I think about it in terms of usual syntax for all DBMS, I know. Proposal of @gjergjk71 is good too, but I would prefer standard SQL-syntax. |
@AndreyAlifanov maybe we can introduce parameterized queries with an implementation that makes use of
Maybe @Enmk has another idea? Otherwise if this is a good addition, I could look more into it. |
@gjergjk71 it's good idea, I think. |
I strongly believe that we need to utilize CH built-in mechanism for query parameters, but there are few prerequisite steps for that: I see utility in bringing |
Pull request for parameters in query. |
Does this client support parameterized queries?
I see that command line client can do this, but it uses it`s own implementation.
The text was updated successfully, but these errors were encountered: