MongoCursor
PHP Manual

MongoCursor::limit

(PECL mongo >=0.9.0)

MongoCursor::limitLimits the number of results returned

Açıklama

public MongoCursor MongoCursor::limit ( int $num )

Değiştirgeler

num

The number of results to return.

Dönen Değerler

Returns this cursor.

Hatalar/İstisnalar

Throws MongoCursorException if this cursor has started iterating.

Ayrıca Bakınız


MongoCursor
PHP Manual