The connection point between MongoDB and PHP.
This class is used to initiate a connection and for database server commands. A typical use is:
<?php
$m = new Mongo(); // connect
$db = $m->foo; // get the database named "foo"
?>
See Mongo::__construct() for more information about creating connections.
MongoDB core docs on » connecting.