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

docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied #14671

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14670

Summary

Add a little more clarification on the "returns document as it was before updates were applied" section to be a bit more explicit.

Examples

@vkarpov15 vkarpov15 added this to the 8.4.2 milestone Jun 17, 2024
@vkarpov15 vkarpov15 modified the milestones: 8.4.2, 8.4.3 Jun 17, 2024
@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jun 18, 2024
@vkarpov15 vkarpov15 merged commit b955724 into master Jun 18, 2024
46 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14670 branch June 18, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Example for findOneAndUpdate is confusing
2 participants