MongoDB\Driver\Cursor::next

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::nextAdvances 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

Siehe auch

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top