Skip to content
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 borrow the transaction/connection mutably #57

Closed
Diggsey opened this issue Sep 5, 2016 · 1 comment
Closed

Prepared statements borrow the transaction/connection mutably #57

Diggsey opened this issue Sep 5, 2016 · 1 comment

Comments

@Diggsey
Copy link
Contributor

Diggsey commented Sep 5, 2016

It means you can only have one prepared statement at a time within a transaction/connection, and it makes it difficult to use prepared statements without the use of owning_ref

@blackbeam
Copy link
Owner

Please use prep_exec. Overhead is negligible because of fast xxhash based statements cache.

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

No branches or pull requests

2 participants