by cies · 2y ago · 0 comments
(How does the IDE do the autocomplete on strings? Will the compiler also catch "bad strings"?)
Otherwise it looks much like jOOQ but without the "jOOQ generator" (which adds most of the type safety).
I expect those `"a" | "b" | "c"` to be expressed as an enum, not strings and |s.
there is kysely-codegen which generates types based on the actual database schema.