Php/docs/mongodb-driver-cursorinterface.getid

From Get docs

MongoDB\Driver\CursorInterface::getId

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::getIdReturns the ID for this cursor


Description

abstract public MongoDB\Driver\CursorInterface::getId ( ) : MongoDB\Driver\CursorId

Returns the MongoDB\Driver\CursorId associated with this cursor. A cursor ID uniquely identifies the cursor on the server.


Parameters

This function has no parameters.


Return Values

Returns the MongoDB\Driver\CursorId for this cursor.


Errors/Exceptions


See Also