How to use Enum as a value and type in a struct, doesn't work when deriving sqlx::Type #3274
Unanswered
mystique09
asked this question in
Q&A
Replies: 1 comment
-
Try listing out all your columns. Since you're doing
You might not even have to provide the |
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 have this enum:
and my struct that have a field with Gender type:
and my query:
but I get this error:
How can I make this work? My database is postgresql.
Beta Was this translation helpful? Give feedback.
All reactions