-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.4.1
-
Component/s: Write Ops
-
None
-
ALL
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
- depends on
-
SERVER-11389 Use CanonicalQuery to return equality fields for upsert
- Closed