Php/docs/class.mongodb-driver-writeerror

来自菜鸟教程
跳转至:导航、​搜索

(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 MongoDB\Driver\WriteError {

/* 方法 */

final public getCode ( ) : int

final public getIndex ( ) : int

final public getInfo ( ) : object|null

final public getMessage ( ) : string

}

Table of Contents