File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ each corresponding query syntax:
4949 - Inserts documents into the ``movies`` collection
5050 - Prints whether the insert operation succeeds
5151
52- The example calls the ``insert()`` method to insert documents that model
52+ The example calls the ``insert()`` method to insert documents that represent
5353 movies released in ``2023``. If the insert operation is
5454 successful, it returns a value of ``1``. If the operation fails, it throws
5555 an exception.
@@ -79,7 +79,7 @@ each corresponding query syntax:
7979 - Inserts documents into the ``movies`` collection
8080 - Prints whether the insert operation succeeds
8181
82- The example calls the ``insert()`` method to insert documents that model
82+ The example calls the ``insert()`` method to insert documents that represent
8383 movies released in ``2023``. If the insert operation is
8484 successful, it returns a value of ``1``. If the operation fails, it throws
8585 an exception.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ The example calls the following methods on the ``Movie`` model:
4646- ``where()``: Matches documents in which the value of the
4747 ``title`` field is ``"Carol"``
4848- ``orderBy()``: Sorts matched documents by their ascending ``_id`` values
49- - ``first()``: Retrieves only the first matching document.
49+ - ``first()``: Retrieves only the first matching document
5050- ``update()``: Updates the value of the ``imdb.rating`` nested
5151 field to from ``6.9`` to ``7.3`` and the value of the
5252 ``imdb.votes`` nested field from ``493`` to ``142000``
You can’t perform that action at this time.
0 commit comments