GoLang Mongo::__construct

request it (197)
GoLang replacement for PHP's Mongo::__construct [edit | history]

Do you know a GoLang replacement for PHP's Mongo::__construct? Write it!

PHP Mongo::__construct

PHP original manual for Mongo::__construct [ show | php.net ]


(PECL mongo >=0.9.0)

Mongo::__constructThe __construct purpose


public Mongo::__construct ([ string $server [, array $options ]] )

This method overwrites the MongoClient constructor and turns off acknowledged writes.

Please see MongoClient::__construct() for description of the parameters.

Return Values


Instanciating this class will emit E_DEPRECATED warning, and turn off acknowledged writes.

Please use the MongoClient instead.