MCPcopy Create free account
hub / github.com/dolthub/doltgresql / DB

Method DB

integration-tests/go-sql-server-driver/driver/cmd.go:490–496  ·  view source on GitHub ↗
(c Connection)

Source from the content-addressed store, hash-verified

488}
489
490func (s *SqlServer) DB(c Connection) (*sql.DB, error) {
491 connector, err := s.Connector(c)
492 if err != nil {
493 return nil, err
494 }
495 return OpenDB(connector)
496}
497
498// Connector returns a database/sql driver.Connector for a connection to this
499// server using the pgx stdlib driver.

Callers 15

RunServerUntilEndOfTestFunction · 0.80
runGCIncrementalTestFunction · 0.80
requireDatabaseQueryableFunction · 0.80
TestResumableGCFunction · 0.80
CommitAndGCUntilConjoinFunction · 0.80
CreateUpToNumFilesFunction · 0.80
RunGCFullFunction · 0.80
TestLargeOutOfBandValuesFunction · 0.80
TestTypeDiversityFunction · 0.80
TestWideTableFunction · 0.80
RunMethod · 0.80

Calls 2

ConnectorMethod · 0.95
OpenDBFunction · 0.85

Tested by 15

RunServerUntilEndOfTestFunction · 0.64
runGCIncrementalTestFunction · 0.64
requireDatabaseQueryableFunction · 0.64
TestResumableGCFunction · 0.64
CommitAndGCUntilConjoinFunction · 0.64
CreateUpToNumFilesFunction · 0.64
RunGCFullFunction · 0.64
TestLargeOutOfBandValuesFunction · 0.64
TestTypeDiversityFunction · 0.64
TestWideTableFunction · 0.64