略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB\Driver\WriteError

2024-12-22

The MongoDB\Driver\WriteError class

(mongodb >=1.0.0)

简介

The MongoDB\Driver\WriteError class encapsulates information about a write error and may be returned as an array element from MongoDB\Driver\WriteResult::getWriteErrors().

类摘要

final class MongoDB\Driver\WriteError {
/* 方法 */
final public getCode(): int
final public getIndex(): int
final public getInfo(): ?object
final public getMessage(): string
}

目录

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-writeerror.php

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