MongoDB\Driver\Session
PHP Manual

MongoDB\Driver\Session::getLogicalSessionId

(mongodb >=1.4.0)

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

Description

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

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


MongoDB\Driver\Session
PHP Manual