# get a database object from your connection object
my $db = $conn->get_database($db_name); # or simply $conn->$db_name
DESCRIPTIONMongoDBx::Class::Database extends MongoDB::Database. All it actually does is override the "get_collection" method such that it returns a MongoDBx::Class::Collection object instead of a MongoDB::Collection object.
ATTRIBUTESNo special attributes are added.
OBJECT METHODSOnly the "get_collection" method is modified as described above.
AUTHORIdo Perlmuter, "<ido at ido50.net>"
BUGSPlease report any bugs or feature requests to "bug-mongodbx-class at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MongoDBx-Class>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORTYou can find documentation for this module with the perldoc command.
You can also look for information at:
- RT: CPAN's request tracker
- AnnoCPAN: Annotated CPAN documentation
- CPAN Ratings
- Search CPAN
LICENSE AND COPYRIGHTCopyright 2010-2014 Ido Perlmuter.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.