1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/docs/Object relational mapping - Hierarchical data - Nested set - Introduction.php

15 lines
491 B
PHP

Basically Nested Set is optimized for traversing trees, as this can be done with minimal queries, however updating the tree can be costly as it will affect all rows within the table.
For more information, read here:
[http://www.sitepoint.com/article/hierarchical-data-database/2 http://www.sitepoint.com/article/hierarchical-data-database/2],
[http://dev.mysql.com/tech-resources/articles/hierarchical-data.html http://dev.mysql.com/tech-resources/articles/hierarchical-data.html]