MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName — Renvoie le nom de la commande
Description
final public function MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName():
string
Renvoie le nom de la commande (par exemple, "find",
"aggregate").
Liste de paramètres
Cette fonction ne contient aucun paramètre.
Valeurs de retour
Renvoie le nom de la commande.
Erreurs / Exceptions
- Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.