MongoCursor::limit

(PECL mongo >=0.9.0)

MongoCursor::limitLimits the number of results returned

Opis

public MongoCursor::limit ( int $num ) : MongoCursor

Parametry

num

The number of results to return.

Zwracane wartości

Returns this cursor.

Błędy/Wyjątki

Throws MongoCursorException if this cursor has started iterating.

Zobacz też:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top