-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Documentation of the "lean" option #5996
Milestone
Comments
Thanks for reporting, fix will be in the next release 👍 |
On second thought, also need to apply this to the 4.x docs |
vkarpov15
added a commit
that referenced
this issue
Jan 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need some clarifications. I think there is some confusion with the "lean" option in the Mongoose documentation.
Under
Query#setOptions(options)
, it says:First, why does it include
findOneAndUpdate
but notfindByIdAndUpdate
?Second, why can I then find the
lean
option in theModel.geoSearch
option list?Third, why is the
lean
option not in theModel.findOneAndUpdate
options list?Thank you in advance!
The text was updated successfully, but these errors were encountered: