MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName

(mongodb >=1.19.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseNameReturns the database on which the command was executed

Descripción

final public MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName(): string

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the database on which the command was executed.

Errores/Excepciones