MongoDBx::AutoDeref::Types - Types specific for MongoDBx::AutoDeref
version 1.110560
Dict [ '$db' => Str, '$ref' => Str, '$id' => class_type('MongoDB::OID') ]
For MongoDBx::AutoDeref to function, it has to operate with the codified database reference. This type constraint checks that the hash has the necessary fields. One slight variation from the mongodb docs is that the $db field is required. This might change in the future, but it certainly doesn't hurt to be explicit.
http://www.mongodb.org/display/DOCS/Database+References
Nicholas R. Perez <nperez@cpan.org>
This software is copyright (c) 2010 by Nicholas R. Perez <nperez@cpan.org>.
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 MongoDBx::AutoDeref, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MongoDBx::AutoDeref
CPAN shell
perl -MCPAN -e shell install MongoDBx::AutoDeref
For more information on module installation, please visit the detailed CPAN module installation guide.