Questions tagged [nested-sets]
The method of the nested set model is a unique approach to illustrating nested sets (which can also be referred to as trees or hierarchies) within relational databases.
I am looking to create a commenting system similar to Discus or Reddit. In my comment database, I have a field called "id_answer" which is set to 0 by default. When a user replies to another comment, this field will be populated with the "id" of the parent ...