Model Tree Structures

MongoDB allows various ways to use tree data structures to model largehierarchical or nested data relationships.

Tree data model for a sample hierarchy of categories.