略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB\Driver\WriteResult

2024-12-21

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 noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mongodb-driver-writeresult.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3