Mojolicious::Plugin::Mongodbv2 - MongoDB v2 driver in Mojolicious
version 1.01
plugin 'mongodbv2', { host => 'mongodb://localhost/mongodbv2', helper => 'db', }
Provides helper to easy use MongoDB v2 driver in Mojolicious application.
host (optional) MongoDB URI Connection (default: 'mongodb://localhost/mongodbv2') helper (optional) The name to give to the easy-access helper (default: 'db')
All other options passed to the plugin are used to connect to MongoDB.
This plugin helper will return the MongoDB::MongoClient object
This is the name of the default easy-access helper.
Please report any bugs through the web interface at https://github.com/EmilianoBruni/mojolicious-plugin-mongodbv2/issues If you want to contribute changes or otherwise involve yourself in development, feel free to fork the Git repository from https://github.com/EmilianoBruni/mojolicious-plugin-mongodbv2/.
You can find this documentation with the perldoc command too.
perldoc Mojolicious::Plugin::Mongodbv2
Emiliano Bruni <info@ebruni.it>
This software is copyright (c) 2021 by Emiliano Bruni.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mojolicious::Plugin::Mongodbv2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Mongodbv2
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Mongodbv2
For more information on module installation, please visit the detailed CPAN module installation guide.