NAME
MongoX::Context - Implements DSL interface,context container.
VERSION
version 0.05
SYNOPSIS
use MongoX::Context;
MongoX::Context::add_connection host => 'mongodb:://127.0.0.1';
MongoX::Context::use_connection;
MongoX::Context::use_db 'test';
MongoX::Context::reset;
MongoX::Context::boot host => 'mongodb://127.0.0.1',db => 'test2';
my $col2 = MongoX::Context::context_db->get_collection('foo2');
DESCRIPTION
MongoX::Context implements the DSL syntax, track and hold internal MongoDB related objects.
AUTHOR
Pan Fan(nightsailer) <nightsailer at gmail dot com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Pan Fan(nightsailer).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.