query_parameter_limit
breaks batchexec
queries
#3185
Labels
Milestone
query_parameter_limit
breaks batchexec
queries
#3185
Version
1.25.0
What happened?
If the number of parameters for a
batchexec
is ≤query_parameter_limit
, the struct for the parameters does not get generated.The generated function still tries to use the missing struct, and thus does not compile.
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/2741cf608de5f3ea978a6feef8e2cf094a3d3dad9c8b0230e4a0e3039132b16b
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: