News for hackers. Stuff that matters.
Re:Show HN: PgTyped – Typesafe SQL in TypeScript and Postgres by Dowwie on Monday May 25, 2020 @06:45PM (#23305698)
While the scenario you present is a legitimate reason for using a query builder, it doesn't justify the investment in using a query builder for the vast majority of db calls. The edge case is not an appropriate goal to impose the cost of using a DSL for the majority of cases. Instead, custom roll an implementation for those complicated calls and stick with a parameterized sql library.

There are no comments on this comment yet.