Closed
Description
isopov opened DATAMONGO-2551 and commented
In mongo it is possible to completely omit writing a field in collection if it is not needed in this document. This has a benefit of using sparse indexes on such field (or their modern replacement indexes with partial filters on exists=false). Also it reduces storage size. It seems that it would be beneficial to have an boolean option for Field annotation named omitNull (or any other name) that will allow to skip writing this field if it has null value
No further details from DATAMONGO-2551