Skip to content

findAndModify remove field removes query #1841

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

Conversation

TylerBrock
Copy link
Contributor

When remove is true we remove the first document that matches the query field not the update field.

When remove is true we remove the first document that matches the query field not the update field.
@TylerBrock TylerBrock changed the title findAndModify remove field removes query selector findAndModify remove field removes query Jun 16, 2014
@tychoish
Copy link
Contributor

merged!

@tychoish tychoish closed this Jun 18, 2014
mongo-cr-bot pushed a commit that referenced this pull request Sep 9, 2022
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* DOCSP-43491 -- WIP

* DOCSP-43491 -- WIP

* DOCSP-43491 -- WIP

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add easy kubectl steps + manual kubectl steps

* DOCSP-43491 -- add easy kubectl steps + manual kubectl steps

* DOCSP-43491 -- edit intro paragraph

* DOCSP-43491 -- remove Helm tab from manual resize section

* DOCSP-43491 -- add RBAC note for easy resize

* DOCSP-43491 -- WIP

* DOCSP-43491 -- move easy process above manual process

* DOCSP-43491 -- copy review revisions

* DOCSP-43491 -- WIP external review revisions

* DOCSP-43491 -- copy review revisions

* DOCSP-43491 -- external review revisions

* DOCSP-43491 -- external review revision

* DOCSP-43491 -- external review revision

* DOCSP-43491 -- external review revisions

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

---------

Co-authored-by: lmkerbey-mdb <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* DOCSP-43491 -- WIP

* DOCSP-43491 -- WIP

* DOCSP-43491 -- WIP

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- add kubectl describe for PVC resize validation

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- draft + add table

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add tab titles

* DOCSP-43491 -- add easy kubectl steps + manual kubectl steps

* DOCSP-43491 -- add easy kubectl steps + manual kubectl steps

* DOCSP-43491 -- edit intro paragraph

* DOCSP-43491 -- remove Helm tab from manual resize section

* DOCSP-43491 -- add RBAC note for easy resize

* DOCSP-43491 -- WIP

* DOCSP-43491 -- move easy process above manual process

* DOCSP-43491 -- copy review revisions

* DOCSP-43491 -- WIP external review revisions

* DOCSP-43491 -- copy review revisions

* DOCSP-43491 -- external review revisions

* DOCSP-43491 -- external review revision

* DOCSP-43491 -- external review revision

* DOCSP-43491 -- external review revisions

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage-easy.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

* Update source/includes/steps-resize-storage.yaml

Co-authored-by: lmkerbey-mdb <[email protected]>

---------

Co-authored-by: lmkerbey-mdb <[email protected]>
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