MongoCursor
PHP Manual

MongoCursor::next

(PECL mongo >=0.9.0)

MongoCursor::nextAdvances the cursor to the next result

Descripción

public void MongoCursor::next ( void )

Parámetros

Esta función no tiene parámetros.

Valores devueltos

NULL.

Errores/Excepciones

Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.


MongoCursor
PHP Manual