MongoDB\Driver\Monitoring\CommandFailedEvent::getServer

(mongodb >=1.3.0)

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

Descrição

final public MongoDB\Driver\Monitoring\CommandFailedEvent::getServer ( ) : MongoDB\Driver\Server

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

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

Erros

Veja Também