File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -392,10 +392,11 @@ Bulk Operation Example: Full File
392
392
393
393
The following example is a fully runnable file that performs the following actions:
394
394
395
- - Matches a document in which the ``name`` field value is ``"Cafe Tomato"`` and
396
- replaces it with a new document
397
- - Matches a document in which the ``name`` field value is ``"Cafe Zucchini"``
398
- and updates the value to ``"Zucchini Land"``
395
+ - Matches a document in which the ``name`` field value is ``"Towne Cafe"`` and
396
+ replaces it with a new document with the name field value set to ``"New Towne
397
+ Cafe"``
398
+ - Matches a document in which the ``name`` field value is ``"New Towne Cafe"``
399
+ and updates the ``cuisine`` field value to ``"French"``
399
400
400
401
.. io-code-block::
401
402
:copyable: true
You can’t perform that action at this time.
0 commit comments