MongoDB\Driver\Session::getLogicalSessionId

(mongodb >=1.4.0)

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

Beschreibung

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.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the logical session ID for this session.

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.