Skip to content

Commit c2d8a3c

Browse files
committed
DOCSP-32080 : typo check - FY2024Q3 (#733)
* typo check - FY2024Q3 * change summer to midyear (cherry picked from commit efe8b1a)
1 parent 5ac7b51 commit c2d8a3c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

source/connection-troubleshooting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ file descriptor. Operating systems typically have a limit on the number of file
125125
descriptors used by a single process. An ``ECONNRESET`` error can occur
126126
if the number of connections exceeds this limit.
127127

128-
You can set the maxmimum number of connections by setting ``maxPoolSize``. To
128+
You can set the maximum number of connections by setting ``maxPoolSize``. To
129129
resolve this error, you can decrease the number of maximum allowed connections
130130
by setting the value of ``maxPoolSize``. Alternatively, you could increase the
131131
file descriptor limit in your operating system.

source/fundamentals/crud/query-document.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ snippet to insert documents that describe fruits into the ``myDB.fruits`` collec
4444

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

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

184184
.. code-block:: javascript
185185

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

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

199199
For more information on this operator, see the reference manual entry for
200200
the :manual:`$exists operator </reference/operator/query/exists/>`.

source/whats-new.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ Node.js Version
604604

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

609609
.. note::
610610

0 commit comments

Comments
 (0)