Skip to content

Commit 5201b33

Browse files
(DOCSP-17900): remove deprecated crud commands from datalake docs
1 parent da2b202 commit 5201b33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/reference/pipeline/lookup-stage.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:class: singlecol
1414

1515
``$lookup`` performs a left outer join to an unsharded collection in the
16-
same database to filter in documents from the joined collection for
16+
same database to filter in documents from the "joined" collection for
1717
processing. For more information, see
1818
:manual:`$lookup </reference/operator/aggregation/lookup/>`. In
1919
{+data-lake+}, ``$lookup`` can be used to perform a join of collections
@@ -108,7 +108,7 @@ Suppose there are three databases named ``sourceDB1``, ``sourceDB2``, and
108108

109109
.. code-block:: json
110110

111-
db.orders.insert([
111+
db.orders.insertMany([
112112
{ "_id" : 1, "item" : "almonds", "price" : 12, "quantity" : 2 },
113113
{ "_id" : 2, "item" : "pecans", "price" : 20, "quantity" : 1 },
114114
{ "_id" : 3 }
@@ -119,7 +119,7 @@ Suppose there are three databases named ``sourceDB1``, ``sourceDB2``, and
119119

120120
.. code-block:: json
121121

122-
db.catalog.insert([
122+
db.catalog.insertMany([
123123
{ "_id" : 1, "sku" : "almonds", "description": "product 1" },
124124
{ "_id" : 2, "sku" : "bread", "description": "product 2" },
125125
{ "_id" : 3, "sku" : "cashews", "description": "product 3" },
@@ -133,7 +133,7 @@ Suppose there are three databases named ``sourceDB1``, ``sourceDB2``, and
133133

134134
.. code-block:: json
135135

136-
db.warehouses.insert([
136+
db.warehouses.insertMany([
137137
{ "_id" : 1, "stock_item" : "almonds", "warehouse": "A", "instock" : 120 },
138138
{ "_id" : 2, "stock_item" : "pecans", "warehouse": "A", "instock" : 70 },
139139
{ "_id" : 3, "stock_item" : "cashews", "warehouse": "B", "instock" : 60 },

0 commit comments

Comments
 (0)