Skip to content

feat: infer parameter types from function call return types - #4326

Open
noxymon wants to merge 3 commits into
sqlc-dev:mainfrom
noxymon:fix/datediff-operator
Open

feat: infer parameter types from function call return types#4326
noxymon wants to merge 3 commits into
sqlc-dev:mainfrom
noxymon:fix/datediff-operator

Conversation

@noxymon

@noxymon noxymon commented Mar 5, 2026

Copy link
Copy Markdown

this PR hopefully fixes #4268

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang labels Mar 5, 2026
@maglicheev-check24

Copy link
Copy Markdown

Can confirm, my issue regarding DATEDIFF is indeed fixed with this change, generated type is int32 as desired

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL/Golang - Wrong generated argument type for DATEDIFF comparison

2 participants