Tx represents a database transaction acquired from a Pool.
| 9 | |
| 10 | // Tx represents a database transaction acquired from a Pool. |
| 11 | type Tx struct { |
| 12 | t pgx.Tx |
| 13 | c *Conn |
| 14 | } |
| 15 | |
| 16 | // Begin starts a pseudo nested transaction implemented with a savepoint. |
| 17 | func (tx *Tx) Begin(ctx context.Context) (pgx.Tx, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected