Created
November 7, 2021 18:44
-
-
Save Deeptiman/35dd79d607afb87f2effcf642ab6a30e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
$lookup: | |
{ | |
from: <collection to join>, | |
localField: <field from the input documents>, | |
foreignField: <field from the documents of the "from" collection>, | |
as: <output array field> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment