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