crudely-typed
crudely-typed copied to clipboard
Support compound primary keys
It's possible for a postgres primary key to include multiple columns. I believe pg-to-ts already supports this. crudely-typed should support it with the "ByPrimaryKey" methods, e.g. selectByPrimaryKey
.
Maybe pg-to-ts doesn't support this: https://github.com/danvk/pg-to-ts/issues/30