【发布时间】:2013-05-11 02:16:56
【问题描述】:
我已经阅读了很多博客和链接以将分层数据保存在 mysql 数据库中,例如 nested set modal *Transitive Clousure Modal* Child Parent Hierchy强>。但我有点困惑,任何人都可以建议我为多个根存储分层结构的最佳方法。
e.g
Root1
|
|---Child 1
| |--Child 1 of 1
| |--Child 2 of 2
|
Root 2
|
|--Child 2
| |--Child 1 of 2
| |--Child 2 of 2
提前感谢:)
【问题讨论】:
标签: mysql hierarchical-data nested-set-model