Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
*Location*: https://docs.mongodb.com/manual/reference/operator/update/positional/#up._S_
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
*Screen Resolution*: 1366 x 768
Description
If I'm not mistaken then this will update two records not just one:
grade field with a value less than or equal to 90 and a mean field with a value greater than 80
{
_id: 4,
grades: [
,
, <<<<< this
<<<<< and this too!
]
}