mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Clarify stdlib.AcquireConn Comment
This commit is contained in:
parent
719800394d
commit
809600d667
@ -43,8 +43,8 @@
|
||||
//
|
||||
// AcquireConn and ReleaseConn acquire and release a *pgx.Conn from the standard
|
||||
// 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
|
||||
// to use pgx specific functionality.
|
||||
// performed on a single connection without running in a transaction, and it
|
||||
// supports operations that use pgx specific functionality.
|
||||
//
|
||||
// conn, err := stdlib.AcquireConn(db)
|
||||
// if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user