Open
Description
Version
1.24.0
What happened?
Compliation successful with invalid WHERE condition. In the following query creator_code
is not a valid column (should be url_code
). When using the in ($1::TEXT[])
condition it breaks the check and successfully compiles only for the query to throw errors at query time.
Relevant log output
No response
Database schema
No response
SQL queries
select user_id, url_code
from creators
where creator_code in ($1::TEXT[])
;
Configuration
No response
Playground URL
No response
What operating system are you using?
macos
What database engines are you using?
postgres
What type of code are you generating?
Go