MongoDB\Driver\CursorInterface::getId
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::getId — Returns the ID for this cursor
説明
abstract public MongoDB\Driver\CursorInterface::getId
( void
) : MongoDB\Driver\CursorId
Returns the MongoDB\Driver\CursorId associated with this cursor. A cursor ID uniquely identifies the cursor on the server.
パラメータ
この関数にはパラメータはありません。
返り値
Returns the MongoDB\Driver\CursorId for this cursor.
エラー / 例外
- 引数のパースに失敗した場合に MongoDB\Driver\Exception\InvalidArgumentException をスローします。
参考
- MongoDB\Driver\Cursor::getId() - Returns the ID for this cursor
- MongoDB\Driver\CursorId
- MongoDB\Driver\CursorId::__toString() - String representation of the cursor ID