PHP 7.4.24 Released!

MongoDB\Driver\CursorInterface::getId

(mongodb >=1.6.0)

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

Description

abstract public MongoDB\Driver\CursorInterface::getId(): MongoDB\Driver\CursorId

Returns the MongoDB\Driver\CursorId associated with this cursor. A cursor ID uniquely identifies the cursor on the server.

Liste de param├Ętres

Cette fonction ne contient aucun param├Ętre.

Valeurs de retour

Returns the MongoDB\Driver\CursorId for this cursor.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.

Voir aussi

add a note add a note

User Contributed Notes

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