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

fix: batch imports filter queries, update cmds having ret type #1842

Merged
merged 3 commits into from
Sep 14, 2022

Conversation

chrisyxlee
Copy link
Contributor

@chrisyxlee chrisyxlee commented Sep 9, 2022

The original code was using all queries to build the batch imports, so the batch.go file was including extraneous imports that were not needed.

And also include batch cmd commands as having return types, which was preventing the build imports code for batch queries to never return true for return types.

Fixes #1682
Fixes #1792

@chrisyxlee chrisyxlee changed the title fix: use only batch queries to build batch imports fix: batch imports filter queries, update cmds having ret type Sep 9, 2022
@kyleconroy kyleconroy merged commit f61a5d5 into sqlc-dev:main Sep 14, 2022
@chrisyxlee chrisyxlee deleted the chris/fix-batch-imports branch September 14, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants