MongoCursor::next
(PECL mongo >=0.9.0)
MongoCursor::next — Advances the cursor to the next result, and returns that result
Beschreibung
public array MongoCursor::next
( void
)
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Returns the next document.
Fehler/Exceptions
Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.
Siehe auch
- Iterator::next() - Rückt den Zeiger auf das nächste Element vor