PHP 8.1.0 Beta 1 available for testing

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 MongoDB\Driver\WriteResult {
/* Méthodes */
final public getDeletedCount(): int|null
final public getInsertedCount(): int|null
final public getMatchedCount(): int|null
final public getModifiedCount(): int|null
final public getUpsertedCount(): int|null
final public getUpsertedIds(): array
final public getWriteErrors(): array
final public isAcknowledged(): bool
}

Sommaire

add a note add a note

User Contributed Notes

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