Re:How We Went All In on sqlc/pgx for Postgres and Go
by Cthulhu_ on Thursday September 09, 2021 @07:37AM
(#28468562)
Based on just this article, it looks like it needs a complete table definition to work with. Unless it queries the database for the definitive schema, but that would mean you need a database up and running at compile time.
Can it help with migrations? Seeing it has the field definitions right there it should at least be possible.
Otherwise I can see how a system like this could become quite complex over time as the database structure changes.