MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandNameReturns the command name

Descripción

finalpublicMongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName(): string

Returns the command name (e.g. "find", "aggregate").

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the command name.

Errores/Excepciones

To Top