If documents are added as children to a document, these documents share the lifespan of the parent. If the parent is removed, so are the children.
Adding a document as a child to a parent document has implications. If the parent is removed, how should we deal with the children?
How can we deal with parent-child relationships?
If documents are added as children to a document, these documents share the lifespan of the parent. If the parent is removed, so are the children.
This does not imply to remove the children without thought. If the parent is removed due to an reorganization of the information, the information in these documents may move to another location or the child documents simply continue to exist one level up in the hierarchy.
- With this definition the relationship between a parent document and its child documents is defined making it easier to create with flat hierarchies.
- The consequences are quite strict. Team members may not be familiar with this interpretation.
For more information regarding this practice please refer to: