MongoCollection dbCollection = Book.DB.getCollection("books")
Purpose
Returns the MongoDB MongoDatabase object.
Examples
Description
The DB
property allows access to the underlying MongoDB MongoDatabase object, thus allowing easy access to the low-level MongoDB Java driver.