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(model): note that insertMany() with lean skips applying defaults #14723

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14698

Summary

Add an additional example, and indicate that insertMany() with lean: true doesn't apply defaults.

Re: #14372

Examples

@vkarpov15 vkarpov15 added this to the 8.4.6 milestone Jul 3, 2024
@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jul 4, 2024
@vkarpov15 vkarpov15 modified the milestones: 8.4.6, 8.4.5 Jul 4, 2024
@vkarpov15 vkarpov15 merged commit 446b923 into master Jul 4, 2024
46 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14698 branch July 4, 2024 13:31
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.

Unreported breaking change - insertMany with lean option
2 participants