MongoDB\Driver\WriteResult 클래스

(mongodb >=1.0.0)


소개

MongoDB\Driver\WriteResult 클래스는 실행된 MongoDB\Driver\BulkWrite에 대한 정보를 캡슐화하고 MongoDB\Driver\Manager::executeBulkWrite()에 의해 반환될 수 있습니다.


클래스 개요

final class MongoDB\Driver\WriteResult {
  /* Methods */
  final public getDeletedCount(): ?int
  final public getInsertedCount(): ?int
  final public getMatchedCount(): ?int
  final public getModifiedCount(): ?int
  final public getServer(): MongoDB\Driver\Server
  final public getUpsertedCount(): ?int
  final public getUpsertedIds(): array
  final public getWriteConcernError(): ?MongoDB\Driver\WriteConcernError
  final public getWriteErrors(): array
  final public isAcknowledged(): bool
}
                

목차