Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

freb
Copy link
Contributor

@freb freb commented Jan 23, 2020

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
Copy link
Member

LGTM, thank you, this is super useful!

@natefinch natefinch merged commit ce249d4 into gnormal:master Feb 5, 2020
marcobeierer pushed a commit to marcobeierer/gnorm that referenced this pull request Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants