The MongoDB\Driver\Monitoring\CommandSucceededEvent class

(mongodb >=1.3.0)

Introduction

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

Class synopsis

final class MongoDB\Driver\Monitoring\CommandSucceededEvent {
/* Methods */
final public getCommandName(): string
final public getDatabaseName(): string
final public getDurationMicros(): int
final public getOperationId(): string
final public getReply(): object
final public getRequestId(): string
final public getServerConnectionId(): ?int
}

Table of Contents