MongoDB\Driver\Session::getOperationTime
Returns the operation time for this session
Description
final public MongoDB\BSON\Timestampnull MongoDB\Driver\Session::getOperationTime()
Parameters
This function has no parameters.
Return Values
Returns the operation time for this session, or null
if the session has no
operation time.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
See Also
- MongoDB\Driver\Session::advanceOperationTime