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

_id field not taken from query during upsert on update

    • ALL

      > db.u.update({_id:1}, {name:1}, true)
      > db.u.find()
      { "_id" : ObjectId("4f5e509be3438c7dbcf2b056"), "name" : 1 }
      

      should produce this:

      > db.u.find()
      { "_id" : 1, "name" : 1 }
      

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: