Clarify stdlib.AcquireConn Comment
This commit is contained in:
+2
-2
@@ -43,8 +43,8 @@
|
|||||||
//
|
//
|
||||||
// AcquireConn and ReleaseConn acquire and release a *pgx.Conn from the standard
|
// AcquireConn and ReleaseConn acquire and release a *pgx.Conn from the standard
|
||||||
// database/sql.DB connection pool. This allows operations that must be
|
// database/sql.DB connection pool. This allows operations that must be
|
||||||
// performed on a single connection, but should not be run in a transaction or
|
// performed on a single connection without running in a transaction, and it
|
||||||
// to use pgx specific functionality.
|
// supports operations that use pgx specific functionality.
|
||||||
//
|
//
|
||||||
// conn, err := stdlib.AcquireConn(db)
|
// conn, err := stdlib.AcquireConn(db)
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user