A classe MongoDB\Driver\Monitoring\CommandFailedEvent

(mongodb >=1.3.0)

Introdução

A classe MongoDB\Driver\Monitoring\CommandFailedEvent encapsula informação sobre um comando falhado.

Resumo da classe

final class MongoDB\Driver\Monitoring\CommandFailedEvent {
/* Métodos */
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