-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.4.2
-
Component/s: None
-
Labels:
-
Environment:Ubuntu
-
Empty show more show less
In previous versions, the following worked correctly:
MongoClient.connect('<url>', function(err, db) {db.executeDbCommand({aggregate: '<collectionName>', pipeline:[{$match: {_id:1}}]}, function(err,res)
)});
However, in the current version an error is thrown:
"error": "Error: key $match must not start with '$'".