mongodb-odm icon indicating copy to clipboard operation
mongodb-odm copied to clipboard

Support lookup in aggregation pipelines with nested references

Open alcaeus opened this issue 6 years ago • 0 comments

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Based on documentation changes in #1934. Looking up a reference nested in an embedded document is not possible, since we only check hasReference($from) in the lookup stage. This should follow the query builder logic where ->field('foo.bar')->references($document) is valid and understood.

alcaeus avatar Jan 17 '19 06:01 alcaeus