News for hackers. Stuff that matters.
Re:Show HN: Kysely, a type-safe SQL query builder for TypeSc... by yashap on Wednesday June 21, 2023 @11:21AM (#36419674)
Yeah, TS has a very flexible/powerful type system. You can have a type like ‘full_name’, that can only be that exact string, or a type like ‘full_name’ | ‘id’ | ‘email’, that can only be those 3 strings, etc. Kysely takes advantage of those sorts of types.

There are no comments on this comment yet.