-
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
Do not return immutable _id
error from findAndModify
for upserting same _id
#3171
Do not return immutable _id
error from findAndModify
for upserting same _id
#3171
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3171 +/- ##
==========================================
- Coverage 75.41% 71.76% -3.66%
==========================================
Files 396 396
Lines 22202 22210 +8
==========================================
- Hits 16744 15939 -805
- Misses 4472 5229 +757
- Partials 986 1042 +56
... and 68 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
_id
check from findAndModify
upsert
option_id
error from findAndModify
for upsert
different _id
This reverts commit 7977f3a.
_id
error from findAndModify
for upsert
different _id
_id
error from findAndModify
for upserting same _id
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.
LGTM
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.
LGTM
…g same `_id` (FerretDB#3171) Closes FerretDB#2803.
Description
Closes #2803.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.