this repo has no description
Perl 83.0%
Other 17.0%
11 1 0

Clone this repository

https://tangled.org/nickmohoric.dev/CHI-Driver-MongoDB
git@knot.nickmohoric.dev:nickmohoric.dev/CHI-Driver-MongoDB

For self-hosted knots, clone URLs may differ based on your setup.

README
NAME
    CHI::Driver::MongoDB - Use MongoDB for cache storage

VERSION
    version 0.01 

SYNOPSIS
    use CHI;
    
    # Supply a MongoDB database handle
    #
    my $cache = CHI->new( driver => 'MongoDB', 
                          db => MongoDB::Connection->new->get_database('db_name') );
    
    # Or supply a MongoDB Connection handla and database name
    #
    my $cache = CHI->new( driver => 'MongoDB', 
                          conn => MongoDB::Connection->new, 
                          db_name => 'db_name' );

DESCRIPTION
    This driver uses a MongoDB table to store the cache.

AUTHORS
    Nick Mohoric <nick.mohoric@gmail.com>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2011 by Nick Mohoric.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.