I meant code generators like sqlc
Then this goes back to your question:
> Is it good at the wrong thing?
Then this goes back to your question:
No, it's good at the right thing which is allowing developers to write type-safe SQL queries using C# at the application layer versus writing SQL that gets translated into C#.