2 points · by egp · 10y ago · 0 comments
No comments yet.
$lookup (aggregation stage) - Database Manual - MongoDB Docs
Use the $lookup aggregation stage to perform joins between collections, run subqueries on foreign collections, and add matching documents as an array field.
docs.mongodb.org