MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId — Renvoie l'identifiant de la requĂȘte de la commande

Description

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

L'identifiant de la requĂȘte est gĂ©nĂ©rĂ© par l'extension et peut ĂȘtre utilisĂ© pour associer cet Ă©vĂ©nement MongoDB\Driver\Monitoring\CommandStartedEvent avec un MongoDB\Driver\Monitoring\CommandFailedEvent ou MongoDB\Driver\Monitoring\CommandSucceededEvent ultĂ©rieur.

Liste de paramĂštres

Cette fonction ne contient aucun paramĂštre.

Valeurs de retour

Renvoie l'identifiant de la requĂȘte de la commande.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.
add a note

User Contributed Notes

There are no user contributed notes for this page.