MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName — Renvoie le nom de la commande

Description

final public function MongoDB\Driver\Monitoring\CommandSucceededEvent::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