MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Connection

Struct Connection

IceFireDB-SQLite/pkg/mysql/client/pool.go:56–59  ·  view source on GitHub ↗

* Pool for efficient reuse of connections. Usage: pool := client.NewPool(log.Debugf, 100, 400, 5, `127.0.0.1:3306`, `username`, `userpwd`, `dbname`) ... conn, _ := pool.GetConn(ctx) defer pool.PutConn(conn) conn.Execute/conn.Begin/etc... */

Source from the content-addressed store, hash-verified

54 }
55
56 Connection struct {
57 conn *Conn
58 lastUseAt Timestamp
59 }
60)
61
62var (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected