MongoDB\Driver\CursorInterface::getId
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::getId — Returns the ID for this cursor
Beschreibung
Returns the MongoDB\Driver\CursorId associated with this cursor. A cursor ID uniquely identifies the cursor on the server.
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns the MongoDB\Driver\CursorId for this cursor.
Fehler/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
Siehe auch
- MongoDB\Driver\Cursor::getId() - Returns the ID for this cursor
- MongoDB\Driver\CursorId
- MongoDB\Driver\CursorId::__toString() - String representation of the cursor ID