sqlc
sqlc copied to clipboard
CUSTOMIZE JSON TAG SQLC EMBED
What do you want to change?
It would be really amazing if we can somehow define json tag for embedded structs when use sqlc.embed
Currently when you have a view with snake case (i.e: source_addresses) and then create a query that left join from this table view and use sqlc.embed, compilation output build a struct with a json tag that does not have underscore (i.e: sourceaddress)
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go