-
Notifications
You must be signed in to change notification settings - Fork 119
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
Feature Request (or Question?): Support deadpool / tokio postgres #105
Comments
hi, it's let mut obj = pool.get().await?;
let client = obj.deref_mut().deref_mut();
let _report = embedded::migrations::runner()
.run_async(client)
.await? |
Thx a lot, that helped! |
@jxs You should add this to the doc really :) Now most of the pg connection are done via pooling. |
hi @mpiorowski makes sense yeah thanks,wanna go ahead and submit a PR with it? |
@jxs done :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would appreciate some help with my poor understanding of the type system...
using deadpool with tokio-postgres and I get the following compile error (that I do not understand, really :)
The text was updated successfully, but these errors were encountered: