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
* res.matchedCount; // Number of documents matched
3773
3773
* res.modifiedCount; // Number of documents modified
3774
-
* res.acknowledged; // Boolean indicating everything went smoothly.
3774
+
* res.acknowledged; // Boolean indicating the MongoDB server received the operation. This may be false if Mongoose did not send an update to the server because the update was empty.
3775
3775
* res.upsertedId; // null or an id containing a document that had to be upserted.
3776
3776
* res.upsertedCount; // Number indicating how many documents had to be upserted. Will either be 0 or 1.
* res.matchedCount; // Number of documents matched
3813
3813
* res.modifiedCount; // Number of documents modified
3814
-
* res.acknowledged; // Boolean indicating everything went smoothly.
3814
+
* res.acknowledged; // Boolean indicating the MongoDB server received the operation. This may be false if Mongoose did not send an update to the server because the update was empty.
3815
3815
* res.upsertedId; // null or an id containing a document that had to be upserted.
3816
3816
* res.upsertedCount; // Number indicating how many documents had to be upserted. Will either be 0 or 1.
0 commit comments