How to unify data return from all sources #3175
Unanswered
suibianwanwank
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My project is implementing a query engine that uses datafusion to do cross-origin queries. Now on some basic sources, I would like to use sqlx for querying, and during development, I found that there is a lot of common code between different sources. So I would like to reduce the amount of code using some methods
I expect to achieve this in combination with the above trait and macros, and I originally expected to unify all Vec->array conversions using a generic function like this
However, during compilation it was found that not all sources implement decode and sqlx::type, for example
I'd like to ask if there are any good ideas for implementing this. thanks
Beta Was this translation helpful? Give feedback.
All reactions