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