Json type with mysql
#4378
-
Hi, I need to store into a mysql table an array of enum. The only way i found to do this is to use Json type. I do
But I get
I miss something ? |
Beta Was this translation helpful? Give feedback.
Answered by
Ludea
Dec 11, 2024
Replies: 1 comment 4 replies
-
This is expected behavior as you only defined how to convert a rust value of the type |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally I use serde_json to create array, store it into json and store into mysql from String