-
Type: Epic
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Doctrine, Performance Benchmarking
-
None
-
To Do
-
Doctrine Eager Pipeline Lookups
-
0
-
0
-
0
-
100
Doctrine MongoDB ODM allows avoiding the n+1 query problem by eagerly loading (called "priming" in ODM) referenced objects. This works by loading the original object, then firing off a single query to load references.
With $lookup available in aggregation pipeline, eager loading can be simplified even more by leveraging $lookup and avoiding an extra query.