MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName — Returns the command name
Beschreibung
Returns the command name (e.g. "find"
,
"aggregate"
).
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns the command name.
Fehler/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.