Replies: 1 comment
-
That impl is nearly correct. The main remaining problem is that you import |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've implemented pagination based on https://github.com/diesel-rs/diesel/blob/master/examples/postgres/advanced-blog-cli/src/pagination.rs, but I want to switch to
diesel_async
now and I'm having trouble migrating the code.The sync version of the pagination mechanism:
My attempt to migrate to
diesel_async
:The compiler throws
the trait bound 'AsyncPgConnection: LoadConnection' is not satisfied
and I'm stuck now.Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions