Mongolid\Cursor\CursorInterface::limit PHP Méthode

limit() public méthode

Limits the number of results returned.
public limit ( integer $amount ) : Mongolid\Cursor\CursorInterface
$amount integer The number of results to return.
Résultat Mongolid\Cursor\CursorInterface Returns this cursor.
    public function limit(int $amount);