diff --git a/lib/aggregate.js b/lib/aggregate.js index 40cb9273ceb..a32a7e68f65 100644 --- a/lib/aggregate.js +++ b/lib/aggregate.js @@ -574,7 +574,7 @@ Aggregate.prototype.option = function(value) { * * ####Example: * - * var cursor = Model.aggregate(..).cursor({ batchSize: 1000 }).exec(); + * var cursor = Model.aggregate(..).cursor({ batchSize: 1000, useMongooseAggCursor: true }).exec(); * cursor.each(function(error, doc) { * // use doc * });