-
Notifications
You must be signed in to change notification settings - Fork 29
DOCSP-45188: Replace #108
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
DOCSP-45188: Replace #108
Conversation
✅ Deploy Preview for docs-ruby ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
A few minor things but otherwise LGTM
source/write/replace.txt
Outdated
|
||
You must pass the following parameters to the ``replace_one`` method: | ||
|
||
- **Query filter**: Matches which documents to update. To learn |
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: Matches doesn't seem like the right word in this context imo
- **Query filter**: Matches which documents to update. To learn | |
- **Query filter**: Specifies which documents to update. To learn |
source/write/replace.txt
Outdated
Replace One Document | ||
-------------------- |
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.
Having this heading here made me think the page was missing a Replace Many header or something. Since this whole page is just about the replace_one method, I don't think this header is necessary
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.
Could also move this change this header to be one level down (with ~~~
instead) and call it Replace Example or something similar
source/write/replace.txt
Outdated
variables for the operation. Values must be constant or closed | ||
expressions that don't reference document fields. | ||
|
||
The following code performs the same replace operation as above, but sets the ``upsert`` |
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.
Style guide - use "preceding" to locate information on a page
The following code performs the same replace operation as above, but sets the ``upsert`` | |
The following code performs the same replace operation as the preceding example, but sets the ``upsert`` |
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-45188
Staging Links
Self-Review Checklist