File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,11 @@ bottom of this page.
56
56
Example
57
57
-------
58
58
59
- In this example, we update documents that match our query in the ``movies``
60
- collection of the ``sample_mflix`` database. We perform the following
59
+ In this example, we use a ``Filter`` builder to filter our query for
60
+ movies in the genre "Frequently Discussed".
61
+
62
+ Next, we update documents that match our query in the ``movies`` collection of the
63
+ ``sample_mflix`` database. We perform the following
61
64
updates to the matching documents:
62
65
63
66
- Add ``Frequently Discussed`` to the array of ``genres`` only if it does not
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ bottom of this page.
54
54
Example
55
55
-------
56
56
57
- In this example, we perform the following updates to the first match for our query
57
+ In this example, we use a ``Filter`` builder to query the collection for
58
+ a movie with the title "Cool Runnings 2".
59
+
60
+ Next, we perform the following updates to the first match for our query
58
61
in the ``movies`` collection of the ``sample_mflix`` database:
59
62
60
63
#. Set the value of ``runtime`` to ``99``
You can’t perform that action at this time.
0 commit comments