NAME

VERSION

TYPES

DBRef

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.