MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandNameReturns the command name

Описание

final public string MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName ( void )

Returns the command name (e.g. "find", "aggregate").

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

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

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

Returns the command name.

Ошибки

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


MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual