Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
2.5.5
-
git hash 6902c6b643f645613f231bcde4bf2b1a86f63c21
-
Fully Compatible
-
ALL
Description
Using a collection with these documents:
{a: 4}
|
{a: [4]}
|
and index:
{a: 1}
|
The query
{a: ${elemMatch: {$gt: 3}}}
|
is returning both documents when it should match only
{a: [4]}
|