Nested one-to-many relations #2126
Unanswered
seriousbusinessuser
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
-
Hi,
I would like to be able to use
load_many
directly on the data returned by anotherload_many
, is it possible? If not then what is preferred workaround for that?Example code to illustrate my problem:
It's possible to iterate over
orders
and useload_many
on each group of orders but it's not optimal because it leads to N+1 query problem.I've found this #649, but it didn't receive any activity for ~2 years, maybe something has changed since then.
Beta Was this translation helpful? Give feedback.
All reactions