We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a54649 commit f397363Copy full SHA for f397363
lib/aggregate.js
@@ -574,7 +574,7 @@ Aggregate.prototype.option = function(value) {
574
*
575
* ####Example:
576
577
- * var cursor = Model.aggregate(..).cursor({ batchSize: 1000 }).exec();
+ * var cursor = Model.aggregate(..).cursor({ batchSize: 1000, useMongooseAggCursor: true }).exec();
578
* cursor.each(function(error, doc) {
579
* // use doc
580
* });
0 commit comments