Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
Description
Description
The documentation for the updatedExisting field of the findAndModify response, doesn't clearly indicate that updatedExisting will be set to true even if the query predicate matched, but the update operation resulted in no actual write (no-op write).
We should update the documents to say:
updatedExisting: Contains true if an update operation modified an existing document or found the document already in the desired end state (and didn't actually perform a write).