I recently read this article , which is saying:
The maximum depth level of a document is 100.
Which left me with the following doubt:
What does the author mean by the depth of a document?
I recently read this article , which is saying:
The maximum depth level of a document is 100.
Which left me with the following doubt:
What does the author mean by the depth of a document?
MongoDB works with document animation, right? You can go putting "sub-documents" into each other. It's like XML tags, you're putting one into the other. When you place one document / data within another, this is a level. When you put another document inside this one that I just put, it's another level, and so it goes, each one inside the other adds a level.
If you think of one box inside the other, you can put 100 boxes. Of course you are placing 2 boxes side by side inside another box, you are not adding two levels, the two are on the same level. There is a level with only 2 different elements, only when one goes inside the other that forms a level. The same could be said for folders, directories, etc., but they are documents.