How do I map JSONB[] to a Vec of custom types #2581
Unanswered
finlaydotb
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.
-
I have a database with a column defined as
I have a struct with this shape
where Data is another struct.
In my select query I keep getting
Problem is that it seems the mapping expects the
data
type on the struct to be of typeVec<Value>
but I need it to be ofVec<Data>
.Any ideas how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions