**[Shiv Jha-Mathur](https://jira.spring.io/secure/ViewProfile.jspa?name=shivjm)** opened **[DATAMONGO-2467](https://jira.spring.io/browse/DATAMONGO-2467?redirect=false)** and commented Perform uncorrelated subqueries between two collections as well as allow other join conditions besides a single equality match: ``` { $lookup: { from: <collection to join>, let: { <var_1>: <expression>, …, <var_n>: <expression> }, pipeline: [ <pipeline to execute on the collection to join> ], as: <output array field> } } ``` --- **Reference URL:** https://docs.mongodb.com/master/reference/operator/aggregation/lookup/#join-conditions-and-uncorrelated-sub-queries 1 votes, 2 watchers