mirror of
https://github.com/golang/go
synced 2024-11-20 07:54:39 -07:00
database/sql: fix Conn's doc typo
Fixes #21798 Change-Id: Ided31a8b22c220acdeb3938cac41ce8db9a110c3 Reviewed-on: https://go-review.googlesource.com/62290 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
parent
caae0917bf
commit
e16dc7d5a9
@ -1493,7 +1493,7 @@ func (db *DB) Conn(ctx context.Context) (*Conn, error) {
|
||||
|
||||
type releaseConn func(error)
|
||||
|
||||
// Conn represents a single database session rather a pool of database
|
||||
// Conn represents a single database session rather than a pool of database
|
||||
// sessions. Prefer running queries from DB unless there is a specific
|
||||
// need for a continuous single database session.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user