Php/docs/mongodb-driver-monitoring-commandsucceededevent.getserver

提供:Dev Guides
< Php
移動先:案内検索

MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer

(mongodb >=1.3.0)

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


説明

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

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


パラメータ

この関数にはパラメータはありません。


返り値

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


エラー / 例外


参考