Currently, when the WithTx method is generated, it accepts a concrete type: either an *sql.Tx or a pgx.Tx. However, the arguments ends up being assigned to a DBTX-typed field. The argument then should also be of type DBTX
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
What do you want to change?
Currently, when the
WithTx
method is generated, it accepts a concrete type: either an*sql.Tx
or apgx.Tx
. However, the arguments ends up being assigned to aDBTX
-typed field. The argument then should also be of typeDBTX
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go