|
MongoDB\Driver\Cursor::getIdReturns the ID for this cursor 説明
final public MongoDB\Driver\CursorId MongoDB\Driver\Cursor::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. エラー / 例外
例例1 MongoDB\Driver\Cursor::getId example
<?php 上の例の出力は、 たとえば以下のようになります。 object(MongoDB\Driver\CursorId)#5 (1) { ["id"]=> int(94810124093) } 参考
|