PHP Conference Japan 2024

MongoDB\Driver\WriteResult 类

(mongodb >=1.0.0)

简介

MongoDB\Driver\WriteResult 类封装了有关已执行 MongoDB\Driver\BulkWrite 的信息,并且可能会由 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
}

目录

添加注释

用户贡献注释

此页面没有用户贡献的注释。
To Top