Doc update

This commit is contained in:
William King 2016-05-18 15:08:09 -07:00
parent 682e688c5b
commit a0d005a993

2
tx.go
View File

@ -136,7 +136,7 @@ func (tx *Tx) Prepare(name, sql string) (*PreparedStatement, error) {
return tx.conn.Prepare(name, sql) return tx.conn.Prepare(name, sql)
} }
// Prepare delegates to the underlying *Conn // Preparex delegates to the underlying *Conn
func (tx *Tx) Preparex(name, sql string, opts PreparexOptions) (*PreparedStatement, error) { func (tx *Tx) Preparex(name, sql string, opts PreparexOptions) (*PreparedStatement, error) {
if tx.status != TxStatusInProgress { if tx.status != TxStatusInProgress {
return nil, ErrTxClosed return nil, ErrTxClosed