You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have more entities with chained OneToOne relations, if I do my_model::Entity::load().with(...) only the 1st level of nested relations are loaded. Is there a way to load all of them using the seaorm 2.0?
All the models have simple OneToOne relations using #[sea_orm::model], #[sea_orm(has_one)]#[sea_orm(belongs_to, .......)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have more entities with chained OneToOne relations, if I do
my_model::Entity::load().with(...)only the 1st level of nested relations are loaded. Is there a way to load all of them using the seaorm 2.0?All the models have simple OneToOne relations using
#[sea_orm::model],#[sea_orm(has_one)]#[sea_orm(belongs_to, .......)Intuitively I expect to have something like:
Beta Was this translation helpful? Give feedback.
All reactions