Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Performant database tree traversal with Rails.
https://en.m.wikipedia.org/wiki/Nested_set_model
If you can't use recursive CTEs I thought the nested set was the older way to do this. There is a bit of work to maintain the structure but once you set it in place it works really well.
There are no comments on this comment yet.
https://en.m.wikipedia.org/wiki/Nested_set_model
If you can't use recursive CTEs I thought the nested set was the older way to do this. There is a bit of work to maintain the structure but once you set it in place it works really well.