andywer/postguard
View on GitHub ↗ ★ 178 TypeScript
🐛 Statically validate Postgres SQL queries in JS / TS code and derive schemas.
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2019-11-08 · latest 2024-12-02
20082026
-
▲ 2
Postguard: Statically validate PG SQL queries and derive schemasstory by surprisetalk · 2024-12-02 · 1 comment
-
…The closest thing to a proper take on this I've seen is https://github.com/andywer/squid with https://github.com/andywer/postguard which, although the SQL is inlined in the code, it uses the right approach for verifying correctness as far…
comment by mixedCase · 2024-04-03 · in Don't use your ORM entities for everything – embrace the SQL -
There's tooling that bridges the gap. An example I've been using recently: https://github.com/andywer/postguard I understand Java has a lot of these as well. This is one of the concerns where embedding a language in another is sort of…
comment by mixedCase · 2019-11-08 · in Modern Data Practice and the SQL Tradition