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.26.0
Hi, missing columns not being detected when not using parameters
none
create table a ( id BIGSERIAL primary key ); create table b ( id BIGSERIAL primary key );
-- name: Test :one select * from a where does_not_exist = 'does_not_exist'; -- name: Test2 :one select a.* from a join b on a.does_not_exist = b.does_not_exist; -- -- name: Test3 :one <- THIS GETS DETECTED -- select -- * -- from -- a -- where -- does_not_exist = $1;
{ "version": "2", "sql": [{ "schema": "schema.sql", "queries": "query.sql", "engine": "postgresql", "gen": { "go": { "out": "db" } } }] }
https://play.sqlc.dev/p/3c9631eb7dc7e42a6a8c8fa81ee16f51869089c4fbd0f4ae2304d5e801dda5b9
macOS
PostgreSQL
Go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.26.0
What happened?
Hi, missing columns not being detected when not using parameters
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/3c9631eb7dc7e42a6a8c8fa81ee16f51869089c4fbd0f4ae2304d5e801dda5b9
What operating system are you using?
macOS
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: