Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.6.9
-
None
-
ALL
Description
After running this aggregation, I get this error: The 'cursor' option is required, except for aggregate with the explain argument
The cursor IS THERE. When I remove the out stage it works.
db.StatEvent.aggregate([
|
{
|
$match: {
|
'time': {$gt: timeLastRun} |
}
|
},
|
{$out: tempAggrName}
|
], {
|
cursor: { batchSize: 0 }
|
});
|
Attachments
Issue Links
- related to
-
SERVER-33393 The 'cursor' option is required, except for aggregate with the explain argument
-
- Closed
-