Skip to content

Conversation

wabain
Copy link
Contributor

@wabain wabain commented Dec 4, 2021

At the point where the compiler processes CTEs it was missing a case for delete statements. This was causing sqlc generate for delete statements using CTEs to fail with the error relation "<cte_name>" does not exist.

@kyleconroy kyleconroy merged commit b68c669 into sqlc-dev:main Dec 9, 2021
@kyleconroy
Copy link
Collaborator

Thanks!

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