mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Doc update
This commit is contained in:
parent
682e688c5b
commit
a0d005a993
2
tx.go
2
tx.go
@ -136,7 +136,7 @@ func (tx *Tx) Prepare(name, sql string) (*PreparedStatement, error) {
|
||||
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) {
|
||||
if tx.status != TxStatusInProgress {
|
||||
return nil, ErrTxClosed
|
||||
|
Loading…
x
Reference in New Issue
Block a user