-
Notifications
You must be signed in to change notification settings - Fork 409
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
Perform insertMany
in a single transaction
#2532
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2532 +/- ##
==========================================
- Coverage 27.23% 27.04% -0.20%
==========================================
Files 414 414
Lines 20344 20365 +21
==========================================
- Hits 5540 5507 -33
- Misses 14226 14280 +54
Partials 578 578
... and 6 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
Is there anything I can help with, or is this one ready for review? |
(more specifically, we are not sure due to PR title 😄) |
Aha! Sorry I’m a bit busy at the moment, the pr is ready for review. There was one suggestion where I would revert the changes to find and modify and update calls. This is because of the update function might return incorrect error messages |
insertMany
in a single transaction
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.
Looks great! I've tested it locally and there benchmark results have improved.
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.
@raeidish thank you for your contribution!
Description
Closes #2510
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.