Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Mongolid
Cursor
CursorInterface
limit
Mongolid\Cursor\CursorInterface::limit PHP Method
CursorInterface Interface Documentation
Show file
Open project: leroy-merlin-br/mongolid
limit()
public
method
Limits the number of results returned.
public
limit
(
integer
$amount
) :
Mongolid\Cursor\CursorInterface
$amount
integer
The number of results to return.
return
Mongolid\Cursor\CursorInterface
Returns this cursor.
public function limit(int $amount);
CursorInterface
all
count
first
limit
skip
sort
toArray