MongoDB\Driver\Cursor::next
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::next — Advances the cursor to the next result
Beschreibung
public MongoDB\Driver\Cursor::next
(
) : void
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Moves the current position to the next element in the cursor.
Fehler/Exceptions
-
Throws MongoDB\Driver\AuthenticationException if
authentication is needed and fails
-
Throws MongoDB\Driver\ConnectionException if
connection to the server fails for other then authentication reasons