略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoWriteConcernException

2024-04-28

The MongoWriteConcernException class

(PECL mongo >= 1.5.0)

简介

MongoWriteConcernException is thrown when a write fails. See Write Concerns for how to set failure thresholds.

Prior to MongoDB 2.6.0, the » getLastError command would determine whether a write failed.

类摘要

MongoWriteConcernException extends MongoCursorException {
/* 继承的属性 */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* 方法 */
public getDocument ( void ) : array
/* 继承的方法 */
public MongoCursorException::getHost ( void ) : string
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mongowriteconcernexception.php

冷却塔厂家 广告
中文GPT4.0无需注册 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3