GoLang MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId

request it (367)
GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId? Write it!

PHP MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId

PHP original manual for MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId [ show | php.net ]

MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestIdReturns the command's request ID

Description

final public string MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId ( void )

The request ID is generated by the driver and may be used to associate this MongoDB\Driver\Monitoring\CommandFailedEvent with a previous MongoDB\Driver\Monitoring\CommandStartedEvent.

Parameters

This function has no parameters.

Return Values

Returns the command's request ID.

Errors/Exceptions