downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Mongo::dropDB> <Mongo::connectUtil
Last updated: Fri, 30 Oct 2009

view this page in

Mongo::__construct

(PECL mongo >=0.9.0)

Mongo::__constructCreates a new database connection object

Beschreibung

Mongo::__construct ([ string $server = NULL [, boolean $connect = TRUE [, boolean $persistent = FALSE [, boolean $paired = FALSE ]]]] )

Parameter-Liste

server

The server name.

connect

If the driver should connect to the database before returning.

persistent

If the connection should be persistent.

paired

If the connection should be paired.

Rückgabewerte

Returns a new database connection object.

Fehler/Exceptions

Throws MongoConnectionException if it tries and fails to connect to the database.



add a note add a note User Contributed Notes
Mongo::__construct
There are no user contributed notes for this page.

Mongo::dropDB> <Mongo::connectUtil
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites