Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
minor: Emphasize in find() docs that cursors are lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed May 22, 2017
1 parent 3058e40 commit d21144c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MongoDB/Collection.pm
Expand Up @@ -644,7 +644,8 @@ sub update_many {
$cursor = $coll->find({ i => { '$gt' => 42 } }, {limit => 20});
Executes a query with a L<filter expression|/Filter expression> and returns a
C<MongoDB::Cursor> object.
B<lazy> C<MongoDB::Cursor> object. (The query is not immediately
issued to the server; see below for details.)
The query can be customized using L<MongoDB::Cursor> methods, or with an
optional hash reference of options.
Expand Down

0 comments on commit d21144c

Please sign in to comment.