MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\CommandSucceededEvent»MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId

MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId

(mongodb >=1.3.0)

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

Descrizione

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

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the command's request ID.

Errori/Eccezioni

To Top