Mongo::connect

(PECL mongo >=0.9.0)

Mongo::connectConnects to a database server

Beskrivelse

public bool Mongo::connect ( void )

Parametre

This function has no parameters.

Returnerings Værdier

If the connection was successful.

Fejl/Undtagelser

Throws MongoConnectionException if it fails to connect to the database.

add a note add a note

User Contributed Notes

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