4 ms·
We use Kysely[0], which is a nice balance. The code you write in Kysely translates 1:1 into SQL, which means there's very little perf left on the table, but we
by internetter 3y ago
We use Kysely[0], which is a nice balance. The code you write in Kysely translates 1:1 into SQL, which means there's very little perf left on the table, but we get an interface that's automatically typed, type safe, and works well with our js language tools.
[0]: https://kysely.dev/ https://kysely.dev/
- clarkdave 3y agoKysely 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/ https://pgtyped.dev/