GoLang MongoWriteConcernException::getDocument

request it (303)
GoLang replacement for PHP's MongoWriteConcernException::getDocument [edit | history]



Do you know a GoLang replacement for PHP's MongoWriteConcernException::getDocument? Write it!

PHP MongoWriteConcernException::getDocument

PHP original manual for MongoWriteConcernException::getDocument [ show | php.net ]

MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document

Description

public array MongoWriteConcernException::getDocument ( void )

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

Parameters

This function has no parameters.

Return Values

A MongoDB document, if available, as an array.