2
0

Rename BeginEx to BeginTx and update docs

This commit is contained in:
Jack Christensen
2019-08-24 20:50:24 -05:00
parent ebf88b691f
commit b2b949afa4
6 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func (c *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, e
pgxOpts.AccessMode = pgx.ReadOnly
}
tx, err := c.conn.BeginEx(ctx, pgxOpts)
tx, err := c.conn.BeginTx(ctx, pgxOpts)
if err != nil {
return nil, err
}