1 Introduction - Reference Documentation
Authors: Juri Kuehn
Version: 0.8.0
1 Introduction
MongoDB is a scalable, high-performance, schemafree and production ready NoSQL database. This plugin implements the GORM functionality for MongoDB. Under the hood it uses Morphia as a lightweight type-safe library for mapping domain classes to/from MongoDB.Features
Features implemented to far:- Instance methods: save, delete
- Class methods: get, find, findAll, delete, deleteAll, exists, count, list
- Dynamic finders like findAllByNameAndDegreeBetween(...)
- Constraints and validation support
- Automatic timestamping of dateCreated and lastUpdated
- Gorm events beforeSave, afterSave, beforeDelete, afterDelete, beforeValidate (others, like afterLoad are supported by Morphia )
- Works with MongoDB 1.6, 1.8 and 2.0
- AST Transformations that inject all necessary fields and annotations for morphia
- Lazy references supported (experimental)
- generate-all support
Questions and Bug Reports
Other links
- Grails Framework
- Grails Documentation
- MongoDB Java Driver
- MongoDB Java Language Center
- MongoDB Grails Plugin that exposes a mongo bean for interaction with MongoDB
Change Log
see hereAuthor:
- Juri Kuehn (juri.kuehn at gmail.com)