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 broken interaction between query_parameter_limit and pq.Array() #2383

Merged
merged 4 commits into from
Jun 28, 2023

Conversation

Jille
Copy link
Contributor

@Jille Jille commented Jun 28, 2023

issue #2268 (second comment)

This was needed to understand PostgreSQL IN() which doens't surface as
an *ast.In
The sqlc.slice() templating code needed to understand how to refer to a variable when query_parameter_limit prevented struct emission.

issue sqlc-dev#2268
The pq import was missing in those cases. I ran into this while writing
a test case for sqlc-dev#2268 comment 2.
@kyleconroy kyleconroy merged commit 7098e18 into sqlc-dev:main Jun 28, 2023
8 checks passed
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.

None yet

2 participants