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

Find and Modify Review Changes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.4
    • None
    • manual

    Description

      Suggested changes for FindAndModify

      • We should document how findAndModify is different from update and show why this operator different
      • Find and modify has a significant performance impact, we should mention this. Ideally with benchmarks
      • We mention that this is an "Atomic" operator. This can lead to users incorrectly believing that this is the only atomic update operator. We should clarify that both are atomic as part of explaining what is different about findAndModify vs update. We should likely reference http://docs.mongodb.org/manual/tutorial/isolate-sequence-of-operations/ as well.

      Attachments

        Activity

          People

            tim.slavin Tim Slavin
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 41 weeks, 6 days ago