public MongoDB MongoClient::__get    ( string $dbname   )

MongoClient::__getGets a database

dbname

The database name.