-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.1
-
Component/s: None
-
Labels:
-
Empty show more show less
The following aggregation
{
$match : {
filename :
}
}, {
$project :
}, {
$group : {
_id : 1,
pages :
}
}
Should output an array with a single element, containing the array 'pages' and this array would contain the strings for the filenames.
However, when toArray is used on the resulting cursor, I get the following:
[
,
,
,
,
,
,
,
{ "filename": "/spoiler.png" }]
It seems the group stage is not being processed at all.