« MongoDB\Driver\Monitoring\CommandStartedEvent
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName »

MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand — Returns the command document

説明

final public function MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand(): object

The reply document will be converted from BSON to PHP using the default deserialization rules (e.g. BSON documents will be converted to stdClass).

パラメータ

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

戻り値

Returns the command document as a stdClass object.

エラー / 例外

関連キーワード:
MongoDB   Driver   Monitoring   CommandStartedEvent   document   command   getCommand   converted   stdClass   getCommandName   mongodb   final   reply   using   default   deserialization   rules   documents   Throws   Exception   InvalidArgumentException   argument   parsing   errors   参考
関連する関数・ページ:
mongodb-driver-monitoring-commandstartedevent.getcommandname   mongodb-driver-monitoring-commandstartedevent.getport   mongodb-driver-monitoring-commandstartedevent.gethost   mongodb-driver-monitoring-commandstartedevent.getdatabasename   mongodb-driver-monitoring-commandstartedevent.getrequestid   mongodb-driver-monitoring-commandstartedevent.getserverconnectionid