-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.2
-
Component/s: MongoDB 3.2
-
Environment:Mac OS 10.11.1 "El Capitan"
-
Empty show more show less
Hi,
applying a filter using node.js driver on a DateTime tag (it's represented as an ISODate) as follows, no documents are returned.
Park.aggregate([
{
$match:
}])
Writing the query directly in the mongoDB shell as follows, it returns the expected documents.
Park.aggregate([
{
$match:
}])
It seems that node.js drivers doesn't translate correctly the javascript syntax in the mongoDB shell one.
Please note, that we are experiencing the same issue also using find().