HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by magnat | Hacker News Reader
Parent
Full thread
magnat
·
How would you query such structure to retrieve elements in-order?
View on HN
netghost
·
Your best solution would probably be to use a recursive CTE if your DB supported it, but as a sibling post mentioned, it's probably not a good approach.
Reply on news.ycombinator.com