MongoCursor::limit

(PECL mongo >=0.9.0)

MongoCursor::limitLimits the number of results returned

Опис

public MongoCursor MongoCursor::limit ( int $num )

Параметри

num

The number of results to return.

Значення, що повертаються

Returns this cursor.

Помилки/Винятки

Throws MongoCursorException if this cursor has started iterating.

Прогляньте Також

add a note add a note

User Contributed Notes

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