PHP 8.1.28 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

User Contributed Notes

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