ConFoo 2025

The MongoDB\Driver\WriteResult class

(mongodb >=1.0.0)

はじめに

The MongoDB\Driver\WriteResult class encapsulates information about an executed MongoDB\Driver\BulkWrite and may be returned by MongoDB\Driver\Manager::executeBulkWrite().

クラス概要

final class MongoDB\Driver\WriteResult {
/* メソッド */
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
}

目次

add a note

User Contributed Notes

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