Re:Show HN: PgTyped – Typesafe SQL in TypeScript and Postgres
by sradman on Monday May 25, 2020 @04:13PM
(#23304477)
Actually, after my quick scan of the readme, I think pgTyped takes a different approach than the other tools listed. It is a YeSQL-style tool with build-time code generation. The code generation is based on prepared statement metadata rather than table metadata. Like other YeSQL tools, the function name comes from a DocComment annotation in the .sql but the query params and the result set columns come from the prepared statement.
[ Parent
| on HN ]
There are no comments on this comment yet.