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

If you're mentioning the first two examples, they're doing different things. The pg example does an orderby, and the sqlite example does a join. You'll be able to switch the client (ie, better-sqlite and pg-promise) in either statement, and the same query would work on the other database.

Maybe I should use the same example repeated for clarity. Let me do that.

Edit: Fixed. Thank you.



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

Search: