-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: 1.4.0
-
Component/s: None
-
None
If the initial $match stage in CountDocuments' aggregation pipeline matches no documents, there will be no input for the $group stage and an empty result set will be returned.
This causes CountDocuments::execute() to throw due to an unexpected type.
- links to