Open davideimola opened 1 year ago
Statement caching happens automatically in pgx as documented here, so the prepare functions are not generated
I've changed this to a feature enhancement request, to add support for explicit prepare statement functions when using pgx.
Version
Other
What happened?
As I want to use batch queries I switched to the
pgx/v4
engine.Once I set this up, the Prepare statement is no more generated as expected.
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/6b8769d26c96df84b1b92b8cc89ff6d47a2a530587e4b5bde6e75ada24c1704e
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go