PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\Cursor::getId
request it (640)
GoLang replacement for PHP's MongoDB\Driver\Cursor::getId
[edit | history]
PHP MongoDB\Driver\Cursor::getIdPHP original manual for MongoDB\Driver\Cursor::getId [ show | php.net ]MongoDB\Driver\Cursor::getId(mongodb >=1.0.0) MongoDB\Driver\Cursor::getId — Returns the ID for this cursor Description
final public MongoDB\Driver\CursorId MongoDB\Driver\Cursor::getId
( void
)
Returns the MongoDB\Driver\CursorId associated with this cursor. A cursor ID uniquely identifies the cursor on the server. ParametersThis function has no parameters. Return ValuesReturns the MongoDB\Driver\CursorId for this cursor. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\Cursor::getId() example
<?phpThe above example will output something similar to:
object(MongoDB\Driver\CursorId)#5 (1) {
["id"]=>
int(94810124093)
}
See Also
|
more
Most requested
more
Last requests
|