We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.28.0
sqlc generate failed.
query.sql:20:7: syntax error near "SELECT"
It should be related to sqlc.slice. If the SQL in sqlc.slice is placed at the end, this error does not occur.
https://play.sqlc.dev/p/5602df5fd37eca5f6ac95dda7da33f112478c3a41c46cb63cf76126c458c2fdc
Windows
MySQL
Go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.28.0
What happened?
sqlc generate failed.
package dao
query.sql:20:7: syntax error near "SELECT"
It should be related to sqlc.slice. If the SQL in sqlc.slice is placed at the end, this error does not occur.
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/5602df5fd37eca5f6ac95dda7da33f112478c3a41c46cb63cf76126c458c2fdc
What operating system are you using?
Windows
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: