PHP 8.4.2 Released!

La classe MongoDB\Driver\WriteResult

(mongodb >=1.0.0)

Introduction

La classe MongoDB\Driver\WriteResult contient les informations sur une exécution MongoDB\Driver\BulkWrite et peut être retourné par MongoDB\Driver\Manager::executeBulkWrite().

Synopsis de la classe

final class MongoDB\Driver\WriteResult {
/* Méthodes */
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
}

Sommaire

add a note

User Contributed Notes

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