NAME

MojoX::MongoDB::Collection - A Mongo collection

SYNOPSIS

An instance of a MojoX::MongoDB collection.

# gets the foo collection
my $collection = $db->foo;

Collection names can be chained together to access sub-collections. For instance, the collection foo.bar can be accessed with:

my $collection = $db->foo->bar;

You can also access collections with the "get_collection" in MojoX::MongoDB::Database method.

DESCRIPTION

Please refer to the MongoDB documentation and API for more information.

AUTHORS

Kristina Chodorow <kristina@mongodb.org>
minimalist <minimalist@lavabit.com>