We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.20.0
Column expansion for quoted non-keyword identifier table does not work well.
input:
SELECT "t".* FROM foo "t";
output:
SELECT t.c.* FROM t "t";
expected:
SELECT t.c FROM t "t";
or
SELECT "t".c FROM t "t";
No response
CREATE TABLE t ( c BIGSERIAL PRIMARY KEY );
-- name: Get :one SELECT "t".* FROM t "t";
{ "version": "1", "packages": [ { "path": "db", "engine": "postgresql", "schema": "query.sql", "queries": "query.sql" } ] }
https://play.sqlc.dev/p/5532492abf710a8a93ef6fcd72236d0166347c85315ef11da8fcd3a12d67c7f9
The text was updated successfully, but these errors were encountered:
fix(compiler): Fix column expansion to work with quoted non-keyword i…
41261b5
…dentifiers close sqlc-dev#2575
Same as #2195, #2005, #1444
Sorry, something went wrong.
@renjunok It is probably a different issue. please file an issue yourself.
@orisano Sorry, I have deleted it.
4d65e68
…dentifiers (#2576) * fix(compiler): Fix column expansion to work with quoted non-keyword identifiers close #2575 * test: add endtoend
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Version
1.20.0
What happened?
Column expansion for quoted non-keyword identifier table does not work well.
input:
output:
expected:
or
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/5532492abf710a8a93ef6fcd72236d0166347c85315ef11da8fcd3a12d67c7f9
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response
The text was updated successfully, but these errors were encountered: