postgres-schema-ts
postgres-schema-ts copied to clipboard
🐘 Convert PostgreSQL schemas to TypeScript
**Background:** When possible, it's preferable to accept read-only arrays as arguments. That allows upstream callers to pass read-only arrays or regular arrays in. But passing a read-only array in place...
the mysql-schema-ts lib pascal cases names. Should parody that behaviour https://github.com/nettofarah/mysql-schema-ts/blob/master/src/typescript.ts#L16
Would be useful to extract additional info from constraints and indexes. For instance: ```sql CREATE UNIQUE INDEX ON . USING () ``` Allows you to extract that `..` is unique...
Greetings! I was wondering what you thought about the column order for the tables? If I'm working on two different machines and for whatever reason the columns were not added...
I want to add the feature discussed in #2, but want to make sure I don't break anything by doing so. This patch adds a GitHub action for running the...
Hi @nettofarah , this is a super useful tool. Do you know if it would be possible to generate types for functions that return a table? Like for example: ```sql...