|
MongoDB\Driver\Cursor::getIdReturns the ID for this cursor 説明
final public MongoDB\BSON\Int64 MongoDB\Driver\Cursor::getId()
Returns the ID for this cursor, which uniquely identifies the cursor on the server. パラメータこの関数にはパラメータはありません。 戻り値Returns the ID for this cursor. The ID will be returned as a MongoDB\BSON\Int64 object. エラー / 例外
変更履歴
例例1 MongoDB\Driver\Cursor::getId example
上の例の出力は、 たとえば以下のようになります。 object(MongoDB\BSON\Int64)#5 (1) { ["integer"]=> string(11) "94810124093" } 参考
|