Own filter / marshaller for MongoDB

D

dapam

Guest
Hello all!

Currently using Grails 2.0.3 and MongoDB plugin 1.0.0.GA. Problem is that implementation of MongoDB plugin also stores null / empty values in db. I'd like write my own marshaller / filter, that gets rid of the empty / null values before saving the collection. My customer's app is very db heavy and it would be really good to only save and therefore fetch only the payload. How could this be done?
 
Top