MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName
  (mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName — Returns the database on which the command was executed
  
 
  Description
  
   final public MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName(): string
  
 
  Liste de paramètres
  Cette fonction ne contient aucun paramètre.
  
 
  Valeurs de retour
  
   Returns the database on which the command was executed.
  
  
 
  Erreurs / Exceptions
  
   - Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.