Skip to content

Correcting findAndModify update and remove field descriptions #1134

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

Correcting findAndModify update and remove field descriptions #1134

wants to merge 1 commit into from

Conversation

estolfo
Copy link
Contributor

@estolfo estolfo commented Jul 29, 2013

The descriptions of the update and remove fields in findAndModify indicated that you could use the two in combination. They must be used exclusively so I've updated the text.

@kay-kim
Copy link
Contributor

kay-kim commented Jul 29, 2013

Hi Emily -- the following is not published yet, but for the update and the remove field, we now have the following sentence instead of the Optional.

Must specify either the remove or the update field in the findAndModify() method.

@kay-kim kay-kim closed this Jul 29, 2013
mongo-cr-bot pushed a commit that referenced this pull request May 17, 2022
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.

2 participants