PHP 8.2.0 Alpha 2 available for testing

The MongoDB\Driver\WriteError class

(mongodb >=1.0.0)

Introdução

The MongoDB\Driver\WriteError class encapsulates information about a write error and may be returned as an array element from MongoDB\Driver\WriteResult::getWriteErrors().

Sinopse da classe

final class MongoDB\Driver\WriteError {
/* Métodos */
final public getCode(): int
final public getIndex(): int
final public getInfo(): ?object
final public getMessage(): string
}

Índice

add a note

User Contributed Notes

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