fuel/core — pull request #713 by ipalaus (2011-12-07 10:32:44+00:00)
Title: Added the methods collection() and set() for easy usage of Mongo_Db

Hello,

I have modified the Mongo_Db class and added collection() and set() methods to has it as an optional usage. So we can do something like:

`Mongo_Db::instance()->collection('users')->set(array('name' => 'Isern', 'surname' => 'Palaus'))->insert();`

This will help @tomschlick and me with the development of Mongo_Crud: https://github.com/tomschlick/fuel-mongo-crud and in general to all Mongo_Db users.

Please, @philsturgeon tell us what do you think about.

Thank you!