PHP Conference Nagoya 2025

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.

Parameters

This function has no parameters.

Return Values

Returns the logical session ID for this session.

Errors/Exceptions

add a note

User Contributed Notes

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