The MongoDB\Driver\Monitoring\CommandSucceededEvent class
(mongodb >=1.3.0)
简介
The MongoDB\Driver\Monitoring\CommandSucceededEvent class encapsulates information about a successful command.
类摘要
final
MongoDB\Driver\Monitoring\CommandSucceededEvent
{
/* 方法 */
}Table of Contents
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName — Returns the command name
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros — Returns the command's duration in microseconds
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getOperationId — Returns the command's operation ID
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getReply — Returns the command reply document
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId — Returns the command's request ID
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer — Returns the Server on which the command was executed