MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual

MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId

(mongodb >=1.3.0)

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

Описание

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.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns the command's request ID.

Ошибки

Смотрите также


MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual