Skip to content

Commit 97f5b23

Browse files
committed
JS PR fixes 1
1 parent c5dbb4c commit 97f5b23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/usage-examples/insertMany.txt

+2-2
Original file line numberDiff line numberDiff 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.

docs/usage-examples/updateOne.txt

+1-1
Original file line numberDiff line numberDiff 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``

0 commit comments

Comments
 (0)