MCPcopy Create free account
hub / github.com/go-pg/pg / Pool

Method Pool

export_test.go:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "github.com/go-pg/pg/v10/internal/pool"
4
5func (db *DB) Pool() pool.Pooler {
6 return db.pool
7}
8
9func (ln *Listener) CurrentConn() *pool.Conn {
10 return ln.cn

Callers 10

db_test.goFile · 0.80
race_test.goFile · 0.80
tx_test.goFile · 0.80
TestPoolMaxSizeMethod · 0.80
TestClosedDBMethod · 0.80
TestClosedListenerMethod · 0.80
TestClosedTxMethod · 0.80
TestClosedStmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected