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
0d4b5de2a5
commit
ed83c7625e
@@ -136,6 +136,7 @@ public class Query {
|
||||
|
||||
/**
|
||||
* Limit the number of returned documents to {@code limit}.
|
||||
* If limit chosen is 0 it returns all documents
|
||||
*
|
||||
* @param limit
|
||||
* @return this.
|
||||
|
||||
Reference in New Issue
Block a user