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

$push at top level is broken

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Write Ops
    • None

    Description

      > db.foo.drop()
      true
      > db.foo.update(

      { _id : "id1" }

      , { $push :

      {mid:1, msg:"msg1", t:11}

      } , true )
      > db.foo.find()

      { "_id" : "id1", "mid" : [ 1 ], "msg" : [ "msg1" ], "t" : [ 11 ] }

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            eliot Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: