func (conn *csvConn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) {
	tx, err := conn.conn.BeginTx(ctx, opts)
	if err != nil {
		return nil, err
	}
	conn.tx = tx
	return tx, err
}
// BeginTx starts and returns a new transaction.
BeginTx starts and returns a new transaction.
// BeginTx starts and returns a new transaction .
func (conn *csvConn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) {
	tx, err := conn.conn.BeginTx(ctx, opts)
	if err != nil {
		return nil, err
	}
	conn.tx = tx
	return tx, err
}
func ( conn * csvConn ) BeginTx ( ctx context . Context , opts driver . TxOptions ) ( driver . Tx , error ) { tx , err := conn . conn . BeginTx ( ctx , opts ) if err != nil { return nil , err } conn . tx = tx return tx , err }
BeginTx starts and returns a new transaction.
BeginTx starts and returns a new transaction .