Skip to content

Copy edits for typos #2432

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

Closed
wants to merge 1 commit into from
Closed
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/core/index-partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fields are greater than ``21``:
db.users.insert( { username: "rajiv", age: 32 } )

However, the following documents with duplicate usernames are allowed
since the the unique constraint only applies to documents with ``age``
since the unique constraint only applies to documents with ``age``
greater than or equal to 21.

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion source/includes/ref-toc-aggregation-group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |
name: :group:`$avg`
file: /reference/operator/aggregation/avg
description: |
Returns an average of numberical values. Ignores non-numeric values.
Returns an average of numerical values. Ignores non-numeric values.

.. versionchanged:: 3.2
Available in both :pipeline:`$group` and :pipeline:`$project`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ action:
- pre: |
Either connect a new :program:`mongo` shell to the MongoDB
instance with the ``-u <username>``, ``-p <password>``, and
the ``--authenticationDatabse <database>``:
the ``--authenticationDatabase <database>``:
language: sh
code: |
mongo --port 27017 -u "myUserAdmin" -p "abc123" --authenticationDatabase "admin"
Expand Down
4 changes: 2 additions & 2 deletions source/includes/steps-getting-started-update-replace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ref: replace-document
action:
- pre: |
The following operation replaces the document with ``item`` equal
to ``"BE10"``. The newly replaced document will only contain the
to ``"BE10"``. The newly replaced document will only contain
the ``_id`` field and the fields in the replacement document.
language: javascript
code: |
Expand All @@ -25,4 +25,4 @@ action:
language: javascript
code: |
WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
...
...
2 changes: 1 addition & 1 deletion source/includes/steps-replace-disabled-config-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ action:
rs.add("<hostnameNew>:<portNew>")
post: |
The initial sync process copies all the data from one member of the
conifg server replica set to the new member without restarting.
config server replica set to the new member without restarting.

:program:`mongos` instances automatically recognize the change in the
config server replica set members without restarting.
Expand Down