PHP - Manual: MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
2024-12-20
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId — Returns the command's request ID
The request ID is generated by the driver and may be used to associate this MongoDB\Driver\Monitoring\CommandSucceededEvent with a previous MongoDB\Driver\Monitoring\CommandStartedEvent.
此函数没有参数。
Returns the command's request ID.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandsucceededevent.getrequestid.php