-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
in: mappingMapping and conversion infrastructureMapping and conversion infrastructurestatus: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement
Milestone
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
Metadata
Metadata
Assignees
Labels
in: mappingMapping and conversion infrastructureMapping and conversion infrastructurestatus: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement