[SERVER-3232] update lose data Created: 09/Jun/11  Updated: 03/Sep/11  Resolved: 03/Sep/11

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

Type: Bug Priority: Major - P3
Reporter: alex Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

centos 5


Operating System: ALL
Participants:

 Description   

> db.test.insert(

{'a001':1,name:1}

)
> db.test.find()

{ "_id" : ObjectId("4df1032d0d72806ea662fa1a"), "a001" : 1, "name" : 1 }

> db.test.update(

{name:1}

,{'$set',{'a01':2}})
Fri Jun 10 01:30:55 SyntaxError: missing : after property id (shell):1
> db.test.update(

{name:1}

,{'$set':{'a01':2}})
> db.test.find()

{ "_id" : ObjectId("4df1032d0d72806ea662fa1a"), "a01" : 2, "name" : 1 }

>



 Comments   
Comment by Eliot Horowitz (Inactive) [ 03/Sep/11 ]

See SERVER-3218

Generated at Thu Feb 08 03:02:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.