Skip to content

DOCSP-44970: Modify delete usage examples #157

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

Merged

Conversation

norareidy
Copy link
Collaborator

@norareidy norareidy commented Dec 12, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-44970
Staging -
https://deploy-preview-157--docs-rust.netlify.app/usage-examples/deleteOne/
https://deploy-preview-157--docs-rust.netlify.app/usage-examples/deleteMany/

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for docs-rust ready!

Name Link
🔨 Latest commit b9977a1
🔍 Latest deploy log https://app.netlify.com/sites/docs-rust/deploys/675b548b1a92930008824ea5
😎 Deploy Preview https://deploy-preview-157--docs-rust.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@stephmarie17 stephmarie17 self-requested a review December 12, 2024 17:11
Copy link
Collaborator

@stephmarie17 stephmarie17 left a comment

Choose a reason for hiding this comment

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

LGTM with a tiny fix ✅


This example passes a query filter as a parameter to the ``delete_many()`` method.
The filter matches documents in which the value of the ``borough`` field is ``"Manhattan"``
This example deletes all documents that match query filter from the ``restaurants``
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
This example deletes all documents that match query filter from the ``restaurants``
This example deletes all documents that match a query filter from the ``restaurants``

@kevinAlbs kevinAlbs requested a review from abr-egn December 16, 2024 19:08
@norareidy norareidy merged commit 36cdfab into mongodb:master Jan 14, 2025
5 checks passed
norareidy added a commit that referenced this pull request Jan 14, 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