jschaf / pggen

Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
MIT License
281 stars 26 forks source link

Remove PrepareAllQueries #98

Closed jschaf closed 7 months ago

jschaf commented 7 months ago

I never used it so I think usage is probably low. Complicates the pgx v5 upgrade, so drop it.

It's easy enough to workaround by writing the prepare manually.

Additionally, it won't work well if we eventually support dynamic queries.