Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14228

Clarify the semantics of `updatedExisting` in the findAndModify command

    XMLWordPrintable

    Details

      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).

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Last commenter:
            Andrew Feierabend Andrew Feierabend
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              8 weeks, 6 days ago