Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1184

Support upsert for findandmodify

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.5.4
    • None
    • None

    Description

      It would be very useful, if findAndModify would support upsert similar to db.foo.update(...). It could be specified as additional option: upsert true/false.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            harald Harald Lapp
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: