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

We’ve been using pg-typed to give us almost the exact thing you are talking about.

While it does have its limitations, its vastly better than raw sql queries.

https://pgtyped.vercel.app/



It looks interesting, but how does it behave with dynamically created queries?


Dynamic queries aren't supported, eg if you want to conditionally join a table or generate where clauses programmatically.




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

Search: