Open Rehart-Kcalb opened 5 months ago
I also have a similar problem, any update?
I also have a similar problem, any update?
No, I rewrite method by myself in file.
Same for me, any select from a function return interface slice, sqlc not able to parse function outputs. @kyleconroy
Any SELECT * FROM custom_function()
doesn't seem to work. Went back to 1.22 but never seemed to have worked
Try to cast types in select
select title::varchar(100), image::varchar(100), organization_name::varchar(100), organization_logo::varchar(100)
Try to cast types in select
select title::varchar(100), image::varchar(100), organization_name::varchar(100), organization_logo::varchar(100)
I tried this when initially post this but it outputed error message
Version
1.26.0
What happened?
I have query
when I generate code sqlc output such message
When I have tried to return without title, it just return
It didn't show any error only when I write this
But after it generate code which return {}interface slice, and I have problem with serializing it. So I rewrite this method by myself everytime when I change my query file.
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/203f6144cf5310949dacf1eabe1cbf7f4f1b65915f86cf5be33c4147aefdf8c9
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go