gnormal / gnorm

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

Add Table.Type to distinguish views from tables (#127) #128

Closed freb closed 4 years ago

freb commented 4 years ago

Make the table type (VIEW or BASE TABLE) available in table templates for Postgres and MySQL. See issue #127. The main use case is limiting the functions generated for VIEWs since they don't receive insert, update, or delete queries.

natefinch commented 4 years ago

LGTM, thank you, this is super useful!