MongoDB\Driver\Monitoring\CommandStartedEvent::getServer

(mongodb >=1.3.0)

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

Descrição

finalpublicMongoDB\Driver\Monitoring\CommandStartedEvent::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/Exceções

Veja Também

To Top