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

Descrizione

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

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the command name.

Errori/Eccezioni

To Top