andel - Oneliner Mandel magic
perl -Mandel=MyModel -E'say c("users", j shift)->in_storage' '{"name":"joe"}' perl -Mandel=MyModel -E'say c("users", { name => "joe" })->in_storage' perl -Mandel=MyModel,db_name -E'say c("users")->count' perl -Mandel=MyModel,mongodb://hostname/db_name -E'say c("users")->count'
$collection = c("collection_name"); $obj = c("collection_name", \%create_args);
Alias for
$mandel->collection("collection_name");
Or
$mandel->collection("collection_name")->create(\%create_args)->save;
See "j" in Mojo::JSON.
See "SYNOPSIS".
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Mandel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mandel
CPAN shell
perl -MCPAN -e shell install Mandel
For more information on module installation, please visit the detailed CPAN module installation guide.