文字

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 » GLE would determin when a write failed.

类摘要

MongoWriteConcernException extends MongoCursorException {
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
public array getDocument ( void )
public string MongoCursorException::getHost ( void )
}

Table of Contents

  • MongoWriteConcernException::getDocument — Get the error document
上一篇: 下一篇: