The MongoDB\Driver\Monitoring\CommandSucceededEvent class

Introduction

The MongoDB\Driver\Monitoring\CommandSucceededEvent class encapsulates information about a successful command.

Class synopsis

MongoDB\Driver\Monitoring\CommandSucceededEvent
final class MongoDB\Driver\Monitoring\CommandSucceededEvent {
/* Methods */
final public string getCommandName()
final public string getDatabaseName()
final public int getDurationMicros()
final public string getHost()
final public string getOperationId()
final public int getPort()
final public object getReply()
final public string getRequestId()
final public MongoDB\Driver\Server getServer()
final public intnull getServerConnectionId()
final public MongoDB\BSON\ObjectIdnull getServiceId()
}
Table of Contents