MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandReturns the command document

说明

final public MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand ( void ) : 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.

错误/异常

相关文章
php mongodb driver monitoring the mongodb driver monitoring commandstartedevent classphp mongodb driver monitoring commandfailedevent returns the command namephp mongodb driver monitoring commandfailedevent returns the command s duration in microsecondsphp mongodb driver monitoring commandfailedevent returns the exception associated with the failed commandphp mongodb driver monitoring commandfailedevent returns the command s operation idphp mongodb driver monitoring commandfailedevent returns the command reply documentphp mongodb driver monitoring commandfailedevent returns the command s request idphp mongodb driver monitoring commandfailedevent returns the server on which the command was executedphp mongodb driver monitoring commandstartedevent returns the command documentphp mongodb driver monitoring commandstartedevent returns the command namephp mongodb driver monitoring commandstartedevent returns the database on which the command was executedphp mongodb driver monitoring commandstartedevent returns the command s operation idphp mongodb driver monitoring commandstartedevent returns the command s request idphp mongodb driver monitoring commandstartedevent returns the server on which the command was executedphp mongodb driver monitoring commandsucceededevent returns the command namephp mongodb driver monitoring commandsucceededevent returns the command s duration in microsecondsphp mongodb driver monitoring commandsucceededevent returns the command s operation idphp mongodb driver monitoring commandsucceededevent returns the command reply documentphp mongodb driver monitoring commandsucceededevent returns the command s request idphp mongodb driver monitoring commandsucceededevent returns the server on which the command was executed
关注编程学问公众号