-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
refactor(NODE-3157)!: update find and modify interfaces for 4.0 #2799
refactor(NODE-3157)!: update find and modify interfaces for 4.0 #2799
Conversation
…d and modify type commands
Reviewers: please compare #2796 for the "light" version of these changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and nice work. I prefer this to the "light" changes. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 nice refactor!
Description
What changed?
BREAKING: Legacy
fields
option no longer supported, useprojection
instead.NODE-3157 Updated public facing option interfaces for find and modify operations:
findOneAndDelete()
,findOneAndReplace()
,findOneAndUpdate()
. Standardized option parsing and internal representation of find and modify operations.