-
Notifications
You must be signed in to change notification settings - Fork 20
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
Prepared Statements and Context #4
Comments
Thanks for you interest in the project. Also, as this is an open source project, PRs are most definitely welcome 😉 Kind regards from Berlin |
Thanks for an answer Bruno :-) I'm willing to help. Regarding prepared statement: Are there also changes needed in the package https://github.com/pubnative/mysqlproto-go ? Or are prepared statements only an on-top feature of this package? |
Yes, you are correct: it's necessary to add the support for the statements in the protocol package/repo. |
@SchumacherFM we allocated some time to understand how easy to integrate Since we have to handle the timeout and cancellation ourselves, it will take us some time to add it. Currently reviewing the best approach to do it. In meanwhile, we added Will keep you posted about the status of both features. |
Cool. Thanks for the progress. I've taken a deeper look into context.Context in database/sql, it looks trivial at the first sight but more complex on the second sight. What would be nice (and I don't know if that's working) when you can cancel a query to let the MySQL server know that it can stop the processing. There is a possibility to do it via a time out |
We are considering to check |
hey guys,
your driver has sparked my interest and its general performance is outstanding. 👏
I would like to use it in an huge ecommerce project with over 350 tables and millions of rows.
But I'm missing features like prepared statements and context.Context integration for cancelling.
What are you plans about implementing them?
TIA
The text was updated successfully, but these errors were encountered: