A data source adapter which allows you to connect to the MongoDB database engine. MongoDB is an
Open Source distributed document database which bridges the gap between key/value stores and
relational databases. To learn more about MongoDB, see here:
[http://www.mongodb.org/](http://www.mongodb.org/).
Rather than operating on records and record sets, queries against MongoDB will return nested sets
of `Document` objects. A `Document`'s fields can contain both simple and complex data types
(i.e. arrays) including other `Document` objects.
After installing MongoDB, you can connect to it as follows:
{{{
// config/bootstrap/connections.php:
Connections::add('default', array('type' => 'MongoDb', 'database' => 'myDb'));
}}}
By default, it will attempt to connect to a Mongo instance running on `localhost` on port
27017. See `__construct()` for details on the accepted configuration settings.