MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)
Get the error document
public array MongoWriteConcernException::getDocument ( void )

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

Returns:

A MongoDB document, if available, as an array.

doc_php
2016-02-24 16:20:58
Comments
Leave a Comment

Please login to continue.