MongoCursor::next
(PECL mongo >=0.9.0)
MongoCursor::next — Advances the cursor to the next result, and returns that result
Descrição
public array MongoCursor::next
( void
)
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
Returns the next document.
Erros
Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.
Veja Também
- Iterator::next() - Move forward to next element