db.StatEvent.aggregate([
{
$match: {
'time': {$gt: timeLastRun}
}
},
{$out: tempAggrName}
], {
cursor: { batchSize: 0 }
});Hello, am I doing something wrong or is this a bug? Reported here: https://jira.mongodb.org/browse/SERVER-38234After running this aggregation, I get this error: The 'cursor' option is required, except for aggregate with the explain argument