-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.9, 2.4.10, 2.6.0, 2.6.1
-
Component/s: JavaScript, Querying
-
None
-
ALL
-
Different behavior of $where within $elemMatch from 2.4 version to 2.6 the issue was raised in this question
It is noted to the poster that they should not be using the type of query as shown as the results can be achieved by other means.
This probably requires a documentation patch to cover the changed behavior.
- duplicates
-
SERVER-12439 $where in $elemMatch no longer valid in 2.5.5-pre
- Closed
-
SERVER-13503 The $where operator should not be allowed under $elemMatch
- Closed