Skip to content

improvements to findAndModify/db.collection.findAndModify ref #2078

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

Conversation

schmalliso
Copy link
Contributor

No description provided.

@schmalliso
Copy link
Contributor Author

@kay-kim @mpaik Can you fine folks have a look, please?

@@ -117,19 +116,22 @@ multiple clients issue the following command:

If all the commands finish the ``query`` phase before any command
starts the ``modify`` phase, **and** there is no unique index on the
``name`` field, the commands may all result in an insert. To prevent
``name`` field, the commands may all perform an upsert, creating
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/all/each/

@mpaik
Copy link
Contributor

mpaik commented Dec 11, 2014

My notes in, otherwise LGTM.

field, the commands may all perform an upsert, creating
multiple duplicate documents.

To prevent this
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace "this condition" with the condition, given that its in its own paragraph now

@tychoish
Copy link
Contributor

lgtm modulo comments

@schmalliso
Copy link
Contributor Author

Merged, with Sam & Michael's feedback.

@schmalliso schmalliso closed this Dec 12, 2014
@schmalliso schmalliso deleted the findAndModify-improvements branch December 12, 2014 20:46
mongo-cr-bot pushed a commit that referenced this pull request Oct 26, 2022
…ial in v6.0 (#2069) (#2078)

* DOCSP-25533 removes incorrect statement from "Clear Jumbo Flag" tutorial

* internal review feedback
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants