The MongoDB\Driver\Monitoring\CommandFailedEvent class

(mongodb >=1.3.0)

简介

The MongoDB\Driver\Monitoring\CommandFailedEvent class encapsulates information about a failed command.

类摘要

final MongoDB\Driver\Monitoring\CommandFailedEvent {
/* 方法 */
final public getCommandName ( void ) : string
final public getDurationMicros ( void ) : int
final public getError ( void ) : Exception
final public getOperationId ( void ) : string
final public getReply ( void ) : object
final public getRequestId ( void ) : string
final public getServer ( void ) : MongoDB\Driver\Server
}

Table of Contents

相关文章
php mongodb driver exception the mongodb driver exception logicexception classphp mongodb driver exception the mongodb driver exception runtimeexception classphp mongodb driver exception the mongodb driver exception sslconnectionexception class deprecated php mongodb driver exception the mongodb driver exception unexpectedvalueexception classphp mongodb driver monitoring the mongodb driver monitoring commandfailedevent classphp mongodb driver monitoring the mongodb driver monitoring commandstartedevent classphp mongodb driver monitoring the mongodb driver monitoring commandsucceededevent classphp mongodb driver the mongodb driver writeconcernerror classphp mongodb driver the mongodb driver writeerror classphp mongodb driver the mongodb driver writeresult 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 commandsucceededevent returns the command s request idphp mongodb driver monitoring commandsucceededevent returns the server on which the command was executed
关注编程学问公众号