Skip to content

Commit

Permalink
docs(aggregate): fix syntax highlighting on allowDiskUse() docs
Browse files Browse the repository at this point in the history
Re: #7021
  • Loading branch information
vkarpov15 committed Sep 26, 2018
1 parent 7c2eb93 commit 55ad233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aggregate.js
Expand Up @@ -683,7 +683,7 @@ Aggregate.prototype.explain = function(callback) {
*
* ####Example:
*
* Model.aggregate(..).allowDiskUse(true).exec(callback)
* await Model.aggregate([{ $match: { foo: 'bar' } }]).allowDiskUse(true);
*
* @param {Boolean} value Should tell server it can use hard drive to store data during aggregation.
* @param {Array} [tags] optional tags for this query
Expand Down

0 comments on commit 55ad233

Please sign in to comment.