MongoDBx::AutoDeref::Types - Types specific for MongoDBx::AutoDeref
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.
Nicholas R. Perez <firstname.lastname@example.org>
This software is copyright (c) 2010 by Nicholas R. Perez <email@example.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.