We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f665a81 commit edd35d7Copy full SHA for edd35d7
src/database/sql/driver/driver.go
@@ -116,8 +116,8 @@ type DriverContext interface {
116
// access to context and to avoid repeated parsing of driver
117
// configuration.
118
//
119
-// A Connector may optionally implement io.Closer interface
120
-// to release the resources when sql.DB is closed.
+// If a Connector implements io.Closer interface, the sql package's
+// DB.Close will call the Close method and return the error (if any).
121
type Connector interface {
122
// Connect returns a connection to the database.
123
// Connect may return a cached connection (one previously
0 commit comments