Google News
logo
MongoDB - Quiz(MCQ)
Which of the following pattern is more straightforward to use?
A)
Nested Sets
B)
String Sets
C)
Materialized Paths
D)
Array of Ancestors

Correct Answer :   Array of Ancestors


Explanation : The Array of Ancestors pattern stores each tree node in a document; in addition to the tree node, document stores in an array the id(s) of the node’s ancestors or path.

Advertisement