Skip to main content

Timeline for Get children of multiple entries

Current License: CC BY-SA 4.0

2 events
when toggle format what by license comment
Jun 3, 2023 at 8:38 comment added James Smith Beware that pretty much every time you write .one() or .all(), you are executing DB queries... and fairly heavy ones in the case of element queries. So I wouldn't recommend this way. You could mitigate slightly by eager loading the children: craft.entries.id(entryID).with('children').one(), but still not great.
Jun 1, 2023 at 15:18 history answered Droemmelbert CC BY-SA 4.0