A related question - suppose I have a hierarchy of self-regulation at 3 levels, implemented in accordance with the recommendation of @RichardAtHome - I understand that when I try to find a specific category, it will also get me the parent category and all child categories. However, how can I make him find the way back to the root? Is there any clean trick to accomplish this, or will a special hack be required?
I intend to use this in scenarios in which the Product table has one category identifier associated with it, but when displayed to users, I would also like to display the entire parent chain so that they can see something like "pastry / seasonal / nestle", - and then the user can change the entire hierarchy of products
source share