php - Managing nested sets of data -
i have been reading storing nested data , examples have come across far demonstrate on how 1 can create , manage hierarchy of nodes in database table when using nested set model.i wondering if table(parent) can have children tables(nodes).by table mean ordinary mysql table data of course.
if use nested sets, don't see how distribute data between different tables in advantageous way. thing nested sets there no called parent , children elements. there nodes , every node can parent and/or child. draw line? store first 3 levels in 1 table , rest in another. doesn't sound me. nested sets not human readable when stored in flat database because of inherent structural difference between tables , hierarchies.
Comments
Post a Comment