MongoDB\Driver\Session::getLogicalSessionId

Returns the logical session ID for this session

説明

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

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

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the logical session ID for this session.

エラー / 例外

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