MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / Close

Method Close

database/db.go:44–49  ·  view source on GitHub ↗

Close closes the underlying database connection pool.

()

Source from the content-addressed store, hash-verified

42
43// Close closes the underlying database connection pool.
44func (d *Datasource) Close() error {
45 if d.Conn != nil {
46 return d.Conn.Close()
47 }
48 return nil
49}
50
51// NewDataSource initializes a new database connection.
52func NewDataSource(configuration *config.Configuration) (IDataSource, error) {

Callers 15

processHTTPFunction · 0.45
TestMainFunction · 0.45
TestSendWebhookFunction · 0.45
TestConnectionReuseFunction · 0.45

Calls

no outgoing calls