MongoCursor
PHP Manual

MongoCursor::next

(PECL mongo >=0.9.0)

MongoCursor::nextAdvances the cursor to the next result, and returns that result

Descrizione

public array MongoCursor::next ( void )

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the next document.

Errori/Eccezioni

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

Vedere anche:


MongoCursor
PHP Manual