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 all batch queries #93

Closed jschaf closed 7 months ago

jschaf commented 7 months ago

PGXv5 dramatically changes how batch queries work. In v4 we use a separate batch and scan call. In v5, we use a callback with generics for type safety.

Remove batch queries for now since it complicates upgrading to pgx V5. We may them back in later with a more ergonomic API.

74