Hacker News new | past | comments | ask | show | jobs | submit login

I'd love a chronological feed but if you gave me a choice I'd get rid of lists in SQL first.

> select * from posts where author_id in @follow_ids order by date desc

SELECT post FROM posts JOIN follows ON posts.author_id = follows.author_id WHERE follows.user_id = $session.user_id;




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: