Mongodb hierarchy

A newbie question: it seems that mongo does not by default describe a hierarchical structure. So if i were using something like xpath in xml, i could find the parents of a giving node. Am i correct in thinking that you need to 'build-in' tree-like relationships (with say 'parent') to be able to do that?
LVL 86
Who is Participating?
James BilousSoftware EngineerCommented:
In MongoDB you can use "categories" to automatically implement this sort of behavior. See:
CEHJAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.