Mongo::__construct

(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.

Значення, що повертаються

Увага

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

Please use the MongoClient instead.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top