Skip to content

Commit

Permalink
Corrige exemplo lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
cleytonoliveira committed Mar 9, 2021
1 parent e891e18 commit f688d61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ db.collection.aggregate([
db.orders.aggregate([
{
$lookup: {
from: <inventory>,
localField: <item>,
foreignField: <sku>,
as: <inventory_docs>
from: "inventory",
localField: "item",
foreignField: "sku",
as: "inventory_docs"
},
},
]);
Expand Down

0 comments on commit f688d61

Please sign in to comment.