logoalt Hacker News

vvpan05/15/20251 replyview on HN

Oh, just manual template typing. That's not great. We've done that and it is error-prone. A SQL-generator infers the types from the query, for example.


Replies

Tadpole918105/15/2025

That's the raw, raw querying. They provide a TypedSQL system where you write SQL and it automatically generated the parameter and return types. It's in the docs.