Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Duplicate
-
2.4.1
-
None
-
None
-
ALL
Description
Example :
db.truc.update({$or:[{B:1263},{G:1234}]},{$inc:{A:100}},{multi:true,upsert:true}); |
|
inserts this document : |
{ "_id" : ObjectId("528cd977e91666571f2af0f1"), "A" : 100 } |
Is it a desired behaviour, if yes , is it documented somewhere ?
Thanks
Attachments
Issue Links
- depends on
-
SERVER-11389 Use CanonicalQuery to return equality fields for upsert
-
- Closed
-