Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
ALL
Description
As a result, a '$' field may be inserted when an expected array is absent.
> c.save( {} );
|
> c.update( {}, { $set:{ 'x.$.y':1 } } )
|
> c.findOne()
|
{
|
"_id" : ObjectId("4f6baa5bf1d7af9aaed0f840"),
|
"x" : {
|
"$" : {
|
"y" : 1
|
}
|
}
|
}
|
Attachments
Issue Links
- duplicates
-
SERVER-6669 update lacking positional match creates bad document
-
- Closed
-