Php/docs/class.mongowriteconcernexception
来自菜鸟教程
(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 ( ) : array
/* 继承的方法 */
public MongoCursorException::getHost ( ) : string
}
Table of Contents
- MongoWriteConcernException::getDocument — Get the error document
/* 继承的属性 */