Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Make a SQL view for the tree and a function in the client application which can read a tree in its linear projected form.


If SQL were flexible, I wouldn’t need to create a whole view for a single query.


You’re telling me there are two presentations of reviews (by restaurant and by user) but it’s too much work to define a query for those two views.

I guess your app can just not support that feature and keep the tree? What do you want to hear?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: