You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using sqlc for over a year with sqlite, by using the mysql engine and holding it in the right way so that the generated code would be compatible with sqlite.
Now that sqlite is supported, I tried swapping the engines. I get syntax errors, which I reduced to the bits of code below.
This is with sqlc 1.16.0. I think the template is out of date: I could not pick this version, nor could I pick sqlite as the engine.[
This may have been resolved with the merge of #2274. I know it's been awhile but if it's possible to test your engine switch with the latest sqlc dev build and report results that would be ideal. I will try to test myself once a new version of the playground ships.
Version
Other
What happened?
I have been using sqlc for over a year with sqlite, by using the mysql engine and holding it in the right way so that the generated code would be compatible with sqlite.
Now that sqlite is supported, I tried swapping the engines. I get syntax errors, which I reduced to the bits of code below.
This is with sqlc 1.16.0. I think the template is out of date: I could not pick this version, nor could I pick sqlite as the engine.[
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/a375863b4700d7104acad69d85e9c9b55f6611eb3a8214af946e490339b38e59
What operating system are you using?
Linux
What database engines are you using?
MySQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: