MongoDB\Driver\Session::getLogicalSessionId

(mongodb >=1.4.0)

MongoDB\Driver\Session::getLogicalSessionIdReturns the logical session ID for this session

Description

final public MongoDB\Driver\Session::getLogicalSessionId(): object

Returns the logical session ID for this session, which may be used to identify this session's operations on the server.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Returns the logical session ID for this session.

Erreurs / Exceptions

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

User Contributed Notes

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