Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2024 (2)
20082026
  1. …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…
  2. 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