Skip to content

Commit

Permalink
docs(query): add note re: cursor()
Browse files Browse the repository at this point in the history
Re: #7188
  • Loading branch information
vkarpov15 committed Nov 1, 2018
1 parent c1e2617 commit eebfb36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/query.js
Expand Up @@ -1761,6 +1761,9 @@ Query.prototype._find = function(callback) {
/**
* Find all documents that match `selector`. The result will be an array of documents.
*
* If there are too many documents in the result to fit in memory, use
* [`Query.prototype.cursor()`](api.html#query_Query-cursor)
*
* ####Example
*
* // Using async/await
Expand Down

0 comments on commit eebfb36

Please sign in to comment.