gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
484 stars 39 forks source link

Support for TableType #127

Closed freb closed 4 years ago

freb commented 4 years ago

I am using a lot of views to help me with some authorization queries. Since you can't insert, update, or delete against views, I'd like to omit the query functions that don't apply. I could use some naming convention, but that seems more brittle than accessing TableType which Postgres already obtains, but isn't available in the templates.

Would you be open to a pull request to make this available for Postgres?

natefinch commented 4 years ago

Absolutely.