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