[SERVER-451] $push at top level is broken Created: 02/Dec/09  Updated: 07/Mar/14  Resolved: 03/Dec/09

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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 ] }
Generated at Thu Feb 08 02:54:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.