Comment Comment by clarkdave Kysely is excellent! Another library that complements it is pgTyped[0]. It compiles .sql files into functions with strongly typed parameters and return values[0] https://pgtyped.dev/ parent clarkdave 2 years ago
[0] https://pgtyped.dev/