Skip to content

Convert model to active model #930

Answered by billy1624
zys864 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @zys864, you could easily convert any Model into ActiveModel with into_active_model method.
https://docs.rs/sea-orm/0.9.1/sea_orm/entity/trait.IntoActiveModel.html#tymethod.into_active_model

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by billy1624
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #927 on August 02, 2022 03:16.