MongoDB\Driver\Monitoring\CommandFailedEvent::getServer

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getServerReturns the Server on which the command was executed

Descripción

finalpublicMongoDB\Driver\Monitoring\CommandFailedEvent::getServer(): MongoDB\Driver\Server

Returns the MongoDB\Driver\Server on which the command was executed.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the MongoDB\Driver\Server on which the command was executed.

Errores/Excepciones

Ver también

To Top