Closed jgrivolla closed 9 years ago
In the Java driver you can specify using a cursor as an AggregationOption, but I'm not sure how to do this in gmongo. By default it doesn't use a cursor, and aggregation results are therefore limited to 16MB.
You just need to pass an AggregationOption instance as the second parameter to DBCollection#aggregate gmongo method.
AggregationOption
In the Java driver you can specify using a cursor as an AggregationOption, but I'm not sure how to do this in gmongo. By default it doesn't use a cursor, and aggregation results are therefore limited to 16MB.