MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
Returns the command's request ID
Description
final public string MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId()
Parameters
This function has no parameters.
Return Values
Returns the command's request ID.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.