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

1) concatenating. Not always possible in complex cases. 2) I don't think it's that hard to write 'select posts from user where user = ?' 3) I prefer functional to oop. In my small apps writing a function with a transparent SQL have worked fine.



Re: 2) For a single user, that's fine. What if you are trying to fetch posts for N users at a time? Issue N separate queries?




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

Search: