Skip to content
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

fix(NODE-3765): make replacement for replaceOne operations without _id #3040

Merged
merged 1 commit into from Dec 8, 2021

Commits on Dec 7, 2021

  1. feat(NODE-3765): make _id optional in replacement for replaceOne oper…

    …ations
    
    The _id field is immutable in a replaceOne operation, so it does not
    make sense to require passing it. Also, this makes replaceOne consistent
    with insertOne.
    tusbar committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    e865c09 View commit details
    Browse the repository at this point in the history