MongoDB\Driver\CursorInterface::getId

Returns the ID for this cursor

説明

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

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.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

参考

  • MongoDB\Driver\Cursor::getId
  • MongoDB\Driver\CursorId
  • MongoDB\Driver\CursorId::__toString