3 ms·
Quick word of advice when dealing with deep parent/child reloationships: Do not use lazy loading feature. That way lies madness.
by Pxtl 2y ago
Quick word of advice when dealing with deep parent/child reloationships:
Do not use lazy loading feature. That way lies madness.
- magicalhippo 2y agoWe're not doing that where we come from. All child tables have the main id so we can load the data for all child rows with just one query per child table, and we load everything at once. We were planning on sticking with this, it has worked well so far, but good to know to avoid getting tempted by the alternative.