Flexible Data Model

In “MongoDB Documents: Fields with Arrays as Values” the instructor mentions “Flexible Data Models”.
Does this imply that, for example, in a Collection “Random Objects” we would have documents that look like:
{“weight”: 1, “height”: 2, “length”: 3, “width”: 4} and {“mass”: 1, “height”: 2, “length”: 3, “width”: 4}?

Hi @Tyler_Fenton,

You can totally have different fields in different documents in the same collection. MongoDB does not complain about it.

There is a dedicated course on Data Modelling : M320: Data Modeling.

You can also read more about it in our documentation : Data Modeling Introduction

Let me know if you have any questions.