Content deleted Content added
mNo edit summary |
No edit summary |
||
Line 3:
==Motivation==
The technique is an answer to the problem that the standard [[relational algebra]] and [[relational calculus]], and the [[SQL]] operations based on them, are unable to express all desirable operations on hierarchies directly. A hierarchy can be expressed in terms of a parent-child relation
Hierarchies may be expressed easily by switching to a [[graph database]]. Alternatively, several resolutions exist for the relational model and are available as a workaround in some [[relational database management system]]s:
Line 173:
*[http://troels.arvin.dk/db/rdbms/links/#hierarchical Troels' links to Hierarchical data in RDBMSs]
*[http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/ Managing hierarchical data in relational databases]
*[http://pear.php.net/package/DB_NestedSet PHP PEAR Implementation for Nested Sets]
*[http://devmd.com/r/adjacency-list-to-nested-sets-mysql Transform any Adjacency List to Nested Sets using MySQL stored procedures]
*[https://github.com/previousnext/nested-set PHP Doctrine DBAL implementation for Nested Sets]
*[https://github.com/Vince0931/NestedSet R Nested Set]
{{DEFAULTSORT:Nested Set Model}}
|