Php/docs/mongowriteconcernexception.getdocument

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

MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document


说明

public MongoWriteConcernException::getDocument ( ) : array

Returns the actual response from the server that was interperated as an error.


参数

此函数没有参数。


返回值

A MongoDB document, if available, as an array.