Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
QO 2022-10-31
Description
coll.find({age: {$gt: NumberInt(30), $lt: NumberInt(18)}}) |
This query in the collection below returned the entire collection.
const docs = [ |
{_id: 0, age: NumberInt(20)}, |
{_id: 1, age: NumberInt(45)}, |
{_id: 2, age: NumberInt(56)}, |
{_id: 3, age: NumberInt(16)} |
];
|
However, this tassert statement should have thrown an error.