0

I would like to know which is better for an existing document: To remove a field to nullify it, or to keep the field and simply set it to null?

I'd also like to know more about the process of saving the document: Will the document be saved in the same place or will an entirely new document be saved somewhere else on the disk?

Note: This question has absolutely nothing in common with "Is shortening MongoDB property names worthwhile?"! I'm asking about saving a record that already exists by removing a field instead of nullifying it.

Kjartan
  • 18,591
  • 15
  • 71
  • 96
zeus
  • 12,173
  • 9
  • 63
  • 184

0 Answers0