You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model.save() resets internal modified state even if Model.update() it calls is unsuccessful. This makes it impossible to handle E11001 "duplicate key on insert" by retrying saving a document again.
In the excerpt of Model.save() below, one can see that modified state is reset unconditionally prior to the update operation.
Model.save() resets internal modified state even if Model.update() it calls is unsuccessful. This makes it impossible to handle E11001 "duplicate key on insert" by retrying saving a document again.
In the excerpt of Model.save() below, one can see that modified state is reset unconditionally prior to the update operation.
The text was updated successfully, but these errors were encountered: