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

Support upsert for findandmodify

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: