Computed attribute in Entity? #2204
normalllll
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have encountered some difficulties in migrating from entgo to sea-orm.
like this
Mixin
featurescreated_at
andupdated_at
, which are generated through rust functions rather than through the database.In addition, sea-orm seems to have no hook function. If you need to update
parent_name
based on the User pointed to byparent_id
when updatingparent_id
, additional logic is required.like this
Beta Was this translation helpful? Give feedback.
All reactions