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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.5.2
    • Write Ops
    • ALL

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: