Return BoxStream of PgRow #3420
Unanswered
AdminCrystal
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an odd issue and its probably just a skill issue tbh. Issue stems from me storing protobuf Any type as two separate columns in the database since I cant implement fromRow for it. Prost Any has type_url and value and that is how I am storing the protobufs instead of in a single column.
Given this proto type
How it is generated by prost
And this select statement
I want to be able to Return either
or
Example function
Above does not compile with error
I have found a workaround doing this but just curious if I am missing something to avoid this workaround
Beta Was this translation helpful? Give feedback.
All reactions