MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\CommandStartedEvent»MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName

MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName

(mongodb >=1.3.0)

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

Опис

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

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the command name.

Помилки/виключення

Прогляньте також

To Top