.*
is not removed from the end of SELECT when using alias
#2005
Labels
.*
is not removed from the end of SELECT when using alias
#2005
Version
1.16.0
What happened?
When I use alias in my SELECT queries and have multiple selected source, the queries generated by sqlc will have a
.*
at the end of the SELECT clause.My query:
sqlc generated query:
And you can see there's a
u.created_at.*
at the end of SELECT clause. This will lead topq
throwingpq: missing FROM-clause entry for table "created_at" .
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
Windows
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: