Patch Changes
-
5cf757a: add support for enums. for example, given the following schema:
CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy'); CREATE TABLE person ( ..., mood mood NOT NULL );
we get the exact enum type:
sql<{ mood: "sad" | "ok" | "happy" }[]>`SELECT mood FROM person`;
-
Updated dependencies [5cf757a]
- @ts-safeql/generate@0.0.10