Close closes the pool.
()
| 126 | |
| 127 | // Close closes the pool. |
| 128 | func (d *DB) Close() { |
| 129 | d.pool.Close() |
| 130 | } |
| 131 | |
| 132 | // Begin starts a pgx transaction for use with sqlc Queries.WithTx. |
| 133 | func (d *DB) Begin(ctx context.Context) (pgx.Tx, error) { |
no outgoing calls