9 ms·
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.
by seer 5y ago
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/ https://pgtyped.vercel.app/
- furstenheim 5y agoIt looks interesting, but how does it behave with dynamically created queries?
- cldellow 5y agoDynamic queries aren't supported, eg if you want to conditionally join a table or generate where clauses programmatically.