Skip to content

DOCSP-32080 : typo check - FY2024Q3 #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/connection-troubleshooting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ file descriptor. Operating systems typically have a limit on the number of file
descriptors used by a single process. An ``ECONNRESET`` error can occur
if the number of connections exceeds this limit.

You can set the maxmimum number of connections by setting ``maxPoolSize``. To
You can set the maximum number of connections by setting ``maxPoolSize``. To
resolve this error, you can decrease the number of maximum allowed connections
by setting the value of ``maxPoolSize``. Alternatively, you could increase the
file descriptor limit in your operating system.
Expand Down
8 changes: 4 additions & 4 deletions source/fundamentals/crud/query-document.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ snippet to insert documents that describe fruits into the ``myDB.fruits`` collec

await myColl.insertMany([
{ "_id": 1, "name": "apples", "qty": 5, "rating": 3 },
{ "_id": 2, "name": "bananas", "qty": 7, "rating": 1, "microsieverts": 0.1 },
{ "_id": 2, "name": "bananas", "qty": 7, "rating": 1, "color": "yellow" },
{ "_id": 3, "name": "oranges", "qty": 6, "rating": 2 },
{ "_id": 4, "name": "avocados", "qty": 3, "rating": 5 },
]);
Expand Down Expand Up @@ -178,12 +178,12 @@ Element Operators

Element operators allow you to query based on the presence, absence, or
type of a field. The following operation uses the element operator
``$exists`` to search for documents containing the ``microsieverts``
``$exists`` to search for documents containing the ``color``
field:

.. code-block:: javascript

const query = { microsieverts: { $exists: true } };
const query = { color: { $exists: true } };
const cursor = myColl.find(query);
for await (const doc of cursor) {
console.dir(doc);
Expand All @@ -194,7 +194,7 @@ This code snippet returns the following results:
.. code-block:: javascript
:copyable: false

{ "_id": 2, "name": "bananas", "qty": 7, "rating": 1, "microsieverts": 0.1 }
{ "_id": 2, "name": "bananas", "qty": 7, "rating": 1, "color": "yellow" }

For more information on this operator, see the reference manual entry for
the :manual:`$exists operator </reference/operator/query/exists/>`.
Expand Down
2 changes: 1 addition & 1 deletion source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ Node.js Version

The minimum supported version of Node.js is now v12.9 or greater for
version 4 of the driver. Support for our 3.x branches will continue
until summer 2022 to allow time to upgrade.
until midyear 2022 to allow time for users to upgrade.

.. note::

Expand Down