You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does meteor-aggregate handle a _null_ in an aggregate query different than native Mongo? I have a query that runs fine in Mongo, but returns no records in Meteor using this library. Once I remove the match on a field that is Null in the database, it runs just fine.
Does meteor-aggregate handle a _null_ in an aggregate query different than native Mongo? I have a query that runs fine in Mongo, but returns no records in Meteor using this library. Once I remove the match on a field that is Null in the database, it runs just fine.
Super-simplifed version of the query:
db.expenses.aggregate(
[
{"$match":{
"details.account_number":10940,
"details.vendor_id":null,
"details.dept_id":1}
}
]
)
But once I remove the vendor_id match, then Meteor returns the records.
Is this a bug, or by design?
Thank you.
The text was updated successfully, but these errors were encountered: