Skip to content

Commit f461da2

Browse files
author
Chris Cho
authored
Fix typos and terminology issues (#339)
1 parent 177a333 commit f461da2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

source/fundamentals/builders/aggregates.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ ReplaceRoot
639639
Use the ``replaceRoot()`` method to create a :manual:`$replaceRoot </reference/operator/aggregation/replaceRoot/>`
640640
pipeline stage that replaces each input document with the specified document.
641641

642-
The following example replaces each input document with the subdocument
642+
The following example replaces each input document with the nested document
643643
in the ``spanish_translation`` field:
644644

645645
.. literalinclude:: /includes/fundamentals/code-snippets/builders/AggBuilders.java

source/fundamentals/builders/projections.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ The following code shows the output from this projection:
300300
"year": 2018,
301301
"type": "even number but not a leap year",
302302
"temperatures": [
303-
... <January-June temperature subdocuments>
303+
... <January-June temperature nested documents>
304304
]
305305
}
306306
{
@@ -310,7 +310,7 @@ The following code shows the output from this projection:
310310
"year": 2019,
311311
"type": "odd number, can't be a leap year",
312312
"temperatures": [
313-
... <January-June temperature subdocuments>
313+
... <January-June temperature nested documents>
314314
]
315315
}
316316

@@ -334,7 +334,7 @@ The following code shows the output from this projection:
334334
"year": 2018,
335335
"type": "even number but not a leap year",
336336
"temperatures": [
337-
... <July-December temperature subdocuments>
337+
... <July-December temperature nested documents>
338338
]
339339
}
340340
{
@@ -344,7 +344,7 @@ The following code shows the output from this projection:
344344
"year": 2019,
345345
"type": "odd number, can't be a leap year",
346346
"temperatures": [
347-
... <July-December temperature subdocuments>
347+
... <July-December temperature nested documents>
348348
]
349349
}
350350

source/fundamentals/databases-collections.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Specify Read Preferences, Read Concerns, and Write Concerns
145145
------------------------------------------------------------
146146

147147
**Read preferences**, **read concerns**, and **write concerns** control
148-
how the driver routes read operations and waits for acknowledgement for
148+
how the driver routes read operations and waits for acknowledgment for
149149
read and write operations when connected to a MongoDB replica set.
150150
Read preferences and read concerns apply to all read operations;
151151
write concerns apply to all write operations.

0 commit comments

Comments
 (0)