MongoDB\Driver\Session::getLogicalSessionId
(mongodb >=1.4.0)
MongoDB\Driver\Session::getLogicalSessionId — Returns the logical session ID for this session
Description
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
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
