array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-commandstartedevent.getrequestid.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandStartedEvent::getRequestId', 2 => 'Returns the command\'s request ID', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-commandstartedevent.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandStartedEvent', ), 'prev' => array ( 0 => 'mongodb-driver-monitoring-commandstartedevent.getport.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandStartedEvent::getPort', ), 'next' => array ( 0 => 'mongodb-driver-monitoring-commandstartedevent.getserver.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandStartedEvent::getServer', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getrequestid.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId

(mongodb >=1.3.0)

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

Descrizione

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

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the command's request ID.

Errori/Eccezioni

Vedere anche: