> c.drop()
true
> c.save( {'1':{},'01':{}} );
> c.update( {}, {$set:{'1.b':1,'1.c':2}} )
> c.find()
{ "_id" : ObjectId("4f1fb41dfb44be527d9e51b4"), "1" :
, "01" :
{ "b" : 1, "c" : 2 }}
> c.drop()
true
> c.save( {'1':{},'01':{}} );
> c.update( {}, {$set:{'1.b':1,'01.c':2}} )
> c.find()
{ "_id" : ObjectId("4f1fb477fb44be527d9e51b5"), "1" : { "b" : 1, "" :
}, "01" :
{ "b" : 1, "c" : 2 }}
- is duplicated by
-
SERVER-5346 document field (key) magically changed by mongodb
- Closed
- is related to
-
SERVER-4777 'weird case' assertion when mods on two nested fields are applied to a document with a duplicated field name
- Closed