How to load multiple related entities #2501
Unanswered
etienne1698
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to load multiple related entities efficiently in SeaORM. My goal is to retrieve a list of events, along with their associated bookings (which contain participants) and users.
Here is my current approach:
Is this the best approach to load multiple related entities in SeaORM?
Would a JOIN query be more efficient than fetching related entities separately and then associating them?
Is there a more idiomatic way to achieve this using SeaORM's relations API?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions