PHP 8.1.31 Released!

The MongoDB\Driver\Monitoring\CommandFailedEvent class

(mongodb >=1.3.0)

Introduction

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

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top