File tree 2 files changed +3
-3
lines changed
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:
49
49
- Inserts documents into the ``movies`` collection
50
50
- Prints whether the insert operation succeeds
51
51
52
- The example calls the ``insert()`` method to insert documents that model
52
+ The example calls the ``insert()`` method to insert documents that represent
53
53
movies released in ``2023``. If the insert operation is
54
54
successful, it returns a value of ``1``. If the operation fails, it throws
55
55
an exception.
@@ -79,7 +79,7 @@ each corresponding query syntax:
79
79
- Inserts documents into the ``movies`` collection
80
80
- Prints whether the insert operation succeeds
81
81
82
- The example calls the ``insert()`` method to insert documents that model
82
+ The example calls the ``insert()`` method to insert documents that represent
83
83
movies released in ``2023``. If the insert operation is
84
84
successful, it returns a value of ``1``. If the operation fails, it throws
85
85
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:
46
46
- ``where()``: Matches documents in which the value of the
47
47
``title`` field is ``"Carol"``
48
48
- ``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
50
50
- ``update()``: Updates the value of the ``imdb.rating`` nested
51
51
field to from ``6.9`` to ``7.3`` and the value of the
52
52
``imdb.votes`` nested field from ``493`` to ``142000``
You can’t perform that action at this time.
0 commit comments