-
Notifications
You must be signed in to change notification settings - Fork 33
DOCSP-33952: Atomic typos #319
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no blocking comments, but left suggestions
source/fundamentals/auth.txt
Outdated
@@ -261,7 +261,7 @@ they are listed: | |||
|
|||
.. note:: | |||
|
|||
If you don't need an AWS session token for the role you're | |||
If you don't require an AWS session token for the role you're | |||
authenticating with, omit the line containing ``AWS_SESSION_TOKEN`` . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: remove extra space here
authenticating with, omit the line containing ``AWS_SESSION_TOKEN`` . | |
authenticating with, omit the line containing ``AWS_SESSION_TOKEN``. |
source/fundamentals/collations.txt
Outdated
an ordered representation of the documents in the collection so your MongoDB instance | ||
does not need to perform the ordering for sorting operations in-memory. | ||
an ordered representation of the documents in the collection, so your MongoDB instance | ||
does not perform the ordering for sorting operations in-memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: keep a less formal tone
does not perform the ordering for sorting operations in-memory. | |
doesn't perform the ordering for sorting operations in-memory. |
source/fundamentals/context.txt
Outdated
@@ -78,10 +83,10 @@ out a connection, the method returns a timeout error. | |||
Connection Establishment | |||
~~~~~~~~~~~~~~~~~~~~~~~~ | |||
|
|||
The driver might block an method call if it needs to create a new | |||
The driver might block an method call if it must create a new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The driver might block an method call if it must create a new | |
The driver might block a method call if it must create a new |
source/fundamentals/context.txt
Outdated
When the driver must create a new connection to execute an | ||
operation, the Context sets a timeout for the establishment process. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: must is unnecessary here
When the driver must create a new connection to execute an | |
operation, the Context sets a timeout for the establishment process. The | |
When the driver creates a new connection to perform an | |
operation, the Context sets a timeout for the establishment process. The |
If you must read and write to more than one document, use | ||
:ref:`transactions <golang-transactions>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: change sentence
If you must read and write to more than one document, use | |
:ref:`transactions <golang-transactions>`. | |
To learn how to perform compound operations on more than one document | |
at a time, see the :ref:`Transactions <golang-transactions>` guide. |
To find and delete a document in separate transactions, call the | ||
``findOne()`` method followed by the ``deleteOne()`` method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: something about this sentence is awkward, separate
To find and delete a document in separate transactions, call the | |
``findOne()`` method followed by the ``deleteOne()`` method. | |
To find a document and delete it in separate operations, call the | |
``findOne()`` method followed by the ``deleteOne()`` method. |
To find and update a document in separate transactions, call | ||
the ``findOne()`` method followed by the ``updateOne()`` method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: see earlier comment
the ``InsertOne()`` method, or insert multiple documents using either | ||
the ``InsertMany()`` or ``BulkWrite()`` method. | ||
Before you can find, update, and delete documents in MongoDB, you must | ||
insert those documents. You can insert one document using the ``InsertOne()`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
insert those documents. You can insert one document using the ``InsertOne()`` | |
insert those documents. You can insert one document by using the ``InsertOne()`` |
the ``InsertMany()`` or ``BulkWrite()`` method. | ||
Before you can find, update, and delete documents in MongoDB, you must | ||
insert those documents. You can insert one document using the ``InsertOne()`` | ||
method, or insert multiple documents using either the ``InsertMany()`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
method, or insert multiple documents using either the ``InsertMany()`` | |
method, or insert multiple documents by using either the ``InsertMany()`` |
@@ -22,5 +22,5 @@ If your MongoDB Server is running locally, you can use the connection string | |||
``"mongodb://localhost:<port>"`` where ``<port>`` is the port number you | |||
configured your server to listen for incoming connections. | |||
|
|||
If you need to specify a different hostname or IP address, see our Server | |||
If you must specify a different hostname or IP address, see our Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: here, I think "want to" is more apt
If you must specify a different hostname or IP address, see our Server | |
If you want to specify a different hostname or IP address, see our Server |
* DOCSP-33952: Atomic typos * tagging * style guide edits * more tagging * vale * RR feedback (cherry picked from commit 9b44ddd)
* DOCSP-33952: Atomic typos * tagging * style guide edits * more tagging * vale * RR feedback (cherry picked from commit 9b44ddd)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-33952
Staging - https://preview-mongodbnorareidy.gatsbyjs.io/golang/DOCSP-33952-atomic-typos/
Self-Review Checklist