Skip to content

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