The MongoFile plugin provides a MongoFileService that saves, retrieves and deletes files from a MongoDB file store. Furthermore, the domain classes have methods injected to handle these files.Each file is stored in a MongoDB collection (bucket), named after the domain class name.
A earlier version of this plugin exists for use with Grails 2.0.* - use
grails install-plugin mongo-file