-
MotivationActivemodel don't support Serialize, Deserialize. I deserialize json to Model and wan to insert to db. Proposed SolutionsAdditional Information |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hey @zys864, you could easily convert any |
Beta Was this translation helpful? Give feedback.
-
thanks,it works. |
Beta Was this translation helpful? Give feedback.
-
Welcome! |
Beta Was this translation helpful? Give feedback.
Hey @zys864, you could easily convert any
Model
intoActiveModel
withinto_active_model
method.https://docs.rs/sea-orm/0.9.1/sea_orm/entity/trait.IntoActiveModel.html#tymethod.into_active_model