(PECL mongo >=0.9.0)
Limits the number of results returned
public MongoCursor MongoCursor::limit ( int $num )
Parameters:
num
The number of results to return.
Returns:
Returns this cursor.
Exception:
Throws MongoCursorException if this cursor has started iterating.
See also:
ยป limit -
Please login to continue.