Skip to content

Add support for Views #1044

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

Merged
merged 2 commits into from
Jun 15, 2021
Merged

Add support for Views #1044

merged 2 commits into from
Jun 15, 2021

Conversation

robholt
Copy link
Contributor

@robholt robholt commented Jun 10, 2021

Fixes #193

This relies on the existing parsing of SELECT queries, so any SELECT that sqlc can normally determine the output columns for will work as a view.

@kyleconroy kyleconroy added this to the v1.9.0 milestone Jun 15, 2021
@kyleconroy kyleconroy merged commit f4eacef into sqlc-dev:main Jun 15, 2021
@mrsufgi
Copy link

mrsufgi commented Aug 7, 2021

@robholt I want to implement this for materialized views, after reviewing the changes here I wonder, what is the key difference? Why can't we use the exact same behavior for materialized views?

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.

View support
3 participants