How many levels of nesting possible?

How many levels of nesting is possible of documents in MongoDB? Do we have any limitation or best practice that states the limitation within which nesting should be kept for best performance, latency issues, DB simplification etc?

Nested Depth for BSON Documents

MongoDB supports no more than 100 levels of nesting for BSON documents.

Hi @Saurabh_91543,

Yes, we can nest only till 100 levels in documents. For more limits, visit:

https://docs.mongodb.com/manual/reference/limits/

Kanika