A classe MongoDB\Driver\WriteResult

(mongodb >=1.0.0)

Introdução

A classe MongoDB\Driver\WriteResult encapsula informações sobre um MongoDB\Driver\BulkWrite executado e pode ser retornada por MongoDB\Driver\Manager::executeBulkWrite().

Resumo da classe

final class MongoDB\Driver\WriteResult {
/* Métodos */
final public getDeletedCount(): ?int
final public getInsertedCount(): ?int
final public getMatchedCount(): ?int
final public getModifiedCount(): ?int
final public getUpsertedCount(): ?int
final public getUpsertedIds(): array
final public getWriteErrors(): array
final public isAcknowledged(): bool
}

Table of Contents