Skip to content

DOCSP-51819 Standardize and move delete usage examples #544

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

Conversation

stephmarie17
Copy link
Collaborator

@stephmarie17 stephmarie17 commented Jul 22, 2025

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-51819

Staging Links

DeleteOne
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?
  • Are the page titles greater than 20 characters long and SEO relevant?

Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for docs-golang ready!

Name Link
🔨 Latest commit c81b8ff
🔍 Latest deploy log https://app.netlify.com/projects/docs-golang/deploys/6887ad2e2884ba00083c174a
😎 Deploy Preview https://deploy-preview-544--docs-golang.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 project configuration.

@docs-builder-bot
Copy link

docs-builder-bot commented Jul 22, 2025

🔄 Deploy Preview for docs-golang processing

Item Details
🔨 Latest Commit 8d7212ead46f074738598b74066e23144ee29ac5
😎 Deploy Preview https://deploy-preview-544--docs-golang.netlify.app
🔍 Build Logs View Logs

@stephmarie17 stephmarie17 marked this pull request as ready for review July 23, 2025 16:48
Copy link
Collaborator

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

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

LGTM!

@stephmarie17 stephmarie17 requested review from a team and prestonvasquez and removed request for a team July 24, 2025 17:13
@stephmarie17
Copy link
Collaborator Author

Updating this PR per the feedback in PR #541

}

// Creates a filter struct to specify the documents to delete
type DeleteRestaurantFilter struct {
Copy link
Member

Choose a reason for hiding this comment

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

See comment here: https://github.com/mongodb/docs-golang/pull/541/files#r2229480471

Suggest retaining the bson.D filtering solution.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated!

@stephmarie17 stephmarie17 merged commit 0185666 into mongodb:comp-cov Jul 28, 2025
5 checks passed
rachel-mack pushed a commit to rachel-mack/docs-golang that referenced this pull request Jul 30, 2025
rachel-mack pushed a commit to rachel-mack/docs-golang that referenced this pull request Jul 30, 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.

4 participants