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

Implement support for CAST(expr AS type-name) with SQLite engine #2541

Closed
andrewmbenton opened this issue Jul 28, 2023 · 3 comments
Closed
Labels
enhancement New feature or request triage New issues that hasn't been reviewed

Comments

@andrewmbenton
Copy link
Collaborator

What do you want to change?

sqlc understands casting for postgresql and soon mysql. We should add it for sqlite as well.

Currently things are pretty broken: https://play.sqlc.dev/p/e653d75ac564b18a73b0c459ade58b2b4653aee02f3058481471212a93bad890

What database engines need to be changed?

SQLite

What programming language backends need to be changed?

No response

@andrewmbenton andrewmbenton added enhancement New feature or request triage New issues that hasn't been reviewed labels Jul 28, 2023
@orisano
Copy link
Contributor

orisano commented Jul 29, 2023

This is already fixed by #2470

@robertkozin
Copy link

Thank you @orisano! I was running into this. ❤️

To any readers, I installed the latest commit with go install github.com/sqlc-dev/sqlc/cmd/sqlc@main

@andrewmbenton
Copy link
Collaborator Author

@orisano Oh yeah I missed that, thanks!

@andrewmbenton andrewmbenton closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage New issues that hasn't been reviewed
Projects
None yet
Development

No branches or pull requests

3 participants