The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mongol - Basic Mongo ODM for Moose objects

VERSION

1.0

SYNOPSIS

DESCRIPTION

Mongol is a basic MongoDB ODM for Moose objects.

METHODS

map_entities

        Mongol->map_entities( $mongo_connection,
                'My::Moose::Object' => 'database.collection'
        )

Maps a Moose class with the Mongol::Entity applied to a MongoDB collection. You can add multiple entities for the same collection if you want to map object partially.

AUTHOR

Tudor Marghidanu <tudor at marghidanu.com>

SEE ALSO

LICENSE

Same as perl.