-
Hi, I'm new to sea-orm, and just setting up a new system.
So how would this look like if done right? |
Beta Was this translation helpful? Give feedback.
Answered by
billy1624
Apr 21, 2022
Replies: 1 comment 7 replies
-
Hey @mohs8421, welcome! You can use the |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
mohs8421
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @mohs8421, welcome! You can use the
before_save
hook inActiveModelBehavior
. See https://www.sea-ql.org/SeaORM/docs/generate-entity/expanded-entity-structure#active-model-behavior