Dutch PHP Conference 2025 - Call For Papers

MongoDB\Driver\CursorInterface::getId

(mongodb >=1.6.0)

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

Açıklama

abstract public MongoDB\Driver\CursorInterface::getId(): MongoDB\Driver\CursorId|MongoDB\BSON\Int64

Returns the ID for this cursor, which uniquely identifies the cursor on the server.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns the ID for this cursor.

Hatalar/İstisnalar

Sürüm Bilgisi

Sürüm: Açıklama
PECL mongodb 1.20.0 Added MongoDB\BSON\Int64 to the tentative return type for this method. MongoDB\Driver\CursorId will be removed from the return type in version 2.0.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top