mongo
Purpose
A Spring bean that provides access to the lower level Mongo API based on GMongo
Examples
def mongo
def foo = {
def mongo
def myAction = {
def db = mongo.getDB("mongo")
db.languages.insert([name: 'Groovy'])
}
}
Description
See the GMongo docs and the API for Mongo Java Driver for API usage info.