PHP 8.1.6 Released!

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 add a note

User Contributed Notes

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