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.
5656Example
5757-------
5858
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
6164updates to the matching documents:
6265
6366- 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.
5454Example
5555-------
5656
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
5861in the ``movies`` collection of the ``sample_mflix`` database:
5962
6063#. Set the value of ``runtime`` to ``99``
You can’t perform that action at this time.
0 commit comments