Skip to content

Commit

Permalink
Builder::limit() is only used for find and count
Browse files Browse the repository at this point in the history
geoNear and mapReduce are no longer supported in Query
  • Loading branch information
jmikola authored and alcaeus committed Apr 11, 2019
1 parent 9574ed8 commit 05bf51a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Doctrine/ODM/MongoDB/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,7 @@ public function language(string $language) : self
/**
* Set the limit for the query.
*
* This is only relevant for find queries and geoNear and mapReduce
* commands.
* This is only relevant for find queries and count commands.
*
* @see Query::prepareCursor()
*/
Expand Down

0 comments on commit 05bf51a

Please sign in to comment.