DB
Purpose

Returns the MongoDB DB object.

Examples
def dbCollection = Book.DB.getCollection("books")
Description

The DB property allows access to the underlying MongoDB DB object, thus allowing easy access to the low-level MongoDB Java driver.