GoLang MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId

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



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

PHP MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId

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

MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId

(mongodb >=1.3.0)

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

Description

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

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.

Parameters

This function has no parameters.

Return Values

Returns the command's request ID.

Errors/Exceptions