(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::getId — Returns the ID for this cursor
Returns the ID for this cursor, which uniquely identifies the cursor on the server.
此函数没有参数。
Returns the ID for this cursor.
版本 | 说明 |
---|---|
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. |