-
SetupVersions
Feature Flags
Problem DescriptionI am new on Rust and I try to implement Pagination with PostgreSQL and DeadPool by inspired from diesel_filter it works with simple type not complex query like sub query
What are you trying to accomplish?Make function What is the expected output?What is the actual output?
Are you seeing any additional errors?No Steps to reproduceChecklist
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
To repeat again what I've already written before: The issue tracker is no support forum, it's a tool for contributors to track bugs. Use the support forum for questions like this one. I've moved your question one last time, the next time it will be treated as bug report and likely closed as: That's not a bug. As for your actual question: The error message suggests that this is just a type mismatch between what your query claims to return and what your struct expects the query to return. See the relevant documentation here. It's likely related to the fact that you try to load the result from a left joined table without marking it explicitly as nullable. |
Beta Was this translation helpful? Give feedback.
-
Thank next time will post in discussion,
|
Beta Was this translation helpful? Give feedback.
I found my problem may benfit someone same me:
just fix by change to tuple of schema table column
to