CPAN::Testers::Metabase::MongoDB - Metabase backend on MongoDB
version 0.001
use CPAN::Testers::Metabase::MongoDB; my $mb = CPAN::Testers::Metabase::MongoDB->new( db_prefix => "my_metabase", host => "mongodb://localhost:27017", ); $mb->public_librarian->search( %search spec ); ...
--- Model::Metabase: class: CPAN::Testers::Metabase::MongoDB args: db_prefix: my_metabase host: "mongodb://localhost:27017/"
This class instantiates a Metabase backend that uses MongoDB for storage and indexing.
my $mb = CPAN::Testers::Metabase::MongoDB->new( db_prefix => "my_metabase", host => "mongodb://localhost:27017", );
Arguments for new:
new
db_prefix -- required -- a unique namespace for the collections
db_prefix
host -- required -- a MongoDB connection string
host
This class does the Metabase::Gateway role, including the following methods:
handle_submission
handle_registration
enqueue
see Metabase::Gateway for more.
CPAN::Testers::Metabase
Metabase::Gateway
Metabase::Web
Net::Amazon::Config
Please report any bugs or feature requests through the issue tracker at http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-Metabase-MongoDB. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/dagolden/cpan-testers-metabase-mongodb
git clone https://github.com/dagolden/cpan-testers-metabase-mongodb.git
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2012 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install CPAN::Testers::Metabase::MongoDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Metabase::MongoDB
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Metabase::MongoDB
For more information on module installation, please visit the detailed CPAN module installation guide.