eager loading, particiularly joined, should populate sub-attributes when the parent is already present
Issue #2213
resolved
attached patch illustrates kind of how this would have to work + some tests. Need to know impact on performance, what other gotchas come up, etc. it needs to move around how we do _populators() and all that.
Comments (4)
-
reporter -
reporter next patch looks like the feature. not sure if turning it on for 0.7.2 is the way to go.
-
reporter - changed status to resolved
-
reporter - removed milestone
Removing milestone: 0.7.2 (automated comment)
- Log in to comment
next patch illustrates it checking for "eager + eager" in a somewhat vain attempt to avoid unnecessary eager loads. In particular the effect is more apparent with subquery loading rather than joined. At the moment, leaning towards:
For the subqueryload issue, the following demonstrates how hitting the same B() repeatedly loads its C(), even with the second patch: