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: the enum Value method returns correct type #1996

Merged
merged 1 commit into from Jan 2, 2023

Conversation

mcdoker18
Copy link
Contributor

The Value method must returns nil or the following types:

  • int64
  • float64
  • bool
  • []byte
  • string
  • time.Time

Closes: #1880

The Value method must returns nil or the following types:

* int64
* float64
* bool
* []byte
* string
* time.Time

Closes: sqlc-dev#1880
@kyleconroy kyleconroy merged commit 4311c22 into sqlc-dev:main Jan 2, 2023
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.

NullEnums.Value() breaks SQL-Execution
2 participants