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.27.0
Using a function in the VALUES clause of an INSERT statement breaks struct field name generation.
CREATE TABLE authors ( name text NOT NULL, age integer NOT NULL );
-- name: CreateAuthor :exec INSERT INTO authors (name, age) VALUES (lower($1), $2);
type CreateAuthorParams struct { Lower string Age int32 }
https://play.sqlc.dev/p/8c26a35b2d5baa341e8aa150d4072e679c1fe28c901c0bdc6830adf988e20661
Linux
PostgreSQL
Go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.27.0
What happened?
Using a function in the VALUES clause of an INSERT statement breaks struct field name generation.
Database schema
SQL queries
Playground URL
https://play.sqlc.dev/p/8c26a35b2d5baa341e8aa150d4072e679c1fe28c901c0bdc6830adf988e20661
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: