Skip to content

Fix return type for subqueries in MySQL (#1383) #1404

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 1 commit into from
Jan 30, 2022

Conversation

dansimau
Copy link
Contributor

This fixes an issue where subqueries as columns in a select aren't handled properly in mysql.

Fixes #1383.

@kyleconroy kyleconroy merged commit 495be9d into sqlc-dev:main Jan 30, 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.

Subquery with count as alias compiles to interface{} type [MySQL Only]
2 participants