CakeFest 2024: The Official CakePHP Conference

MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseNameReturns 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.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top