Skip to content

Commit eebfb36

Browse files
committed
docs(query): add note re: cursor()
Re: #7188
1 parent c1e2617 commit eebfb36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/query.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,9 @@ Query.prototype._find = function(callback) {
17611761
/**
17621762
* Find all documents that match `selector`. The result will be an array of documents.
17631763
*
1764+
* If there are too many documents in the result to fit in memory, use
1765+
* [`Query.prototype.cursor()`](api.html#query_Query-cursor)
1766+
*
17641767
* ####Example
17651768
*
17661769
* // Using async/await

0 commit comments

Comments
 (0)