type database/sql.connReuseStrategy
8 uses
database/sql (current package)
sql.go#L441: type connReuseStrategy uint8
sql.go#L445: alwaysNewConn connReuseStrategy = iota
sql.go#L1196: func (db *DB) conn(ctx context.Context, strategy connReuseStrategy) (*driverConn, error) {
sql.go#L1482: func (db *DB) prepare(ctx context.Context, query string, strategy connReuseStrategy) (*Stmt, error) {
sql.go#L1552: func (db *DB) exec(ctx context.Context, query string, args []interface{}, strategy connReuseStrategy) (Result, error) {
sql.go#L1622: func (db *DB) query(ctx context.Context, query string, args []interface{}, strategy connReuseStrategy) (*Rows, error) {
sql.go#L1751: func (db *DB) begin(ctx context.Context, opts *TxOptions, strategy connReuseStrategy) (tx *Tx, err error) {
sql.go#L2562: func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *driverConn, releaseConn func(error), ds *driverStmt, err error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |