Skip to content

Add support for $lookup to aggregation. [DATAMONGO-1326] #2238

Closed
@spring-projects-issues

Description

@spring-projects-issues

Christoph Strobl opened DATAMONGO-1326 and commented

Performs a left outer join to another collection in the same database.

{
   $lookup:
     {
       from: <collection to join>,
       localField: <field from the input documents>,
       foreignField: <field from the documents of the "from" collection>,
       as: <output array field>
     }
}

Reference URL: https://docs.mongodb.org/master/reference/operator/aggregation/lookup/

Referenced from: pull request #344

1 votes, 2 watchers

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions