def bookBson = Book.collection.find().first()
Purpose
Returns the MongoDB collection used for the current domain class
Examples
Description
The collection
property allows access to the underlying MongoDB MongoCollection object, thus allowing direct access to the low-level MongoDB driver.