MongoCursor::limitLimits the number of results returned
&reftitle.description;
publicMongoCursorMongoCursor::limitintnum
&reftitle.parameters;
num
The number of results to return.
&reftitle.returnvalues;
Returns this cursor.
&reftitle.errors;
Throws MongoCursorException if this cursor has started iterating.
&reftitle.seealso;
MongoDB core docs on limit.
MongoCursor::batchSize