Update Query.limit javadoc.
This commit explains usage of Query.limit(int), which will be set to unlimited when set to zero or a negative value. Closes: #3999
This commit is contained in:
committed by
Christoph Strobl
parent
14c265f3a1
commit
14a71f0498
@@ -134,6 +134,7 @@ public class Query {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Limit the number of returned documents to {@code limit}.
|
* Limit the number of returned documents to {@code limit}.
|
||||||
|
* If limit chosen is 0 it returns all documents
|
||||||
*
|
*
|
||||||
* @param limit
|
* @param limit
|
||||||
* @return this.
|
* @return this.
|
||||||
|
|||||||
Reference in New Issue
Block a user