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

Update (save -- upsert:true w/_id) reorders _id field

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.5.2
    • Component/s: Write Ops
    • Labels:
    • ALL

      > db.e.save({a:1, _id:4})
      > db.e.find({_id:4})
      { "_id" : 4, "a" : 1 }
      

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

              Created:
              Updated:
              Resolved: