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(model): throw error if bulkSave() did not insert or update any documents #14837

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

vkarpov15
Copy link
Collaborator

Re: #14763

Summary

First step for fixing #14763 (option 1), throwing an error if bulkSave() did not update or insert any documents successfully.

Examples

@vkarpov15 vkarpov15 added this to the 8.5.5 milestone Aug 28, 2024
@vkarpov15 vkarpov15 modified the milestones: 8.5.5, 8.6.1 Aug 28, 2024
lib/model.js Outdated Show resolved Hide resolved
Co-authored-by: Hafez <a.hafez852@gmail.com>
@vkarpov15 vkarpov15 merged commit c37e345 into master Sep 3, 2024
46 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14763 branch September 3, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants