MongoCursor::hint
MongoCursor::next
MongoCursor
PHP Manual

# MongoCursor::limit

(PECL mongo >=0.9.0)

MongoCursor::limit — Limits the number of results returned

### Descripción

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

### Lista de parámetros

`num`

  The number of results to return.

### Valores retornados

Returns this cursor.

### Errors/Exceptions

Throws MongoCursorException if this cursor has started iterating.

MongoCursor::hint
MongoCursor::next
MongoCursor
PHP Manual