MCPcopy Create free account
hub / github.com/sql-machine-learning/sqlflow / GetTestingMySQLURL

Function GetTestingMySQLURL

go/database/testing.go:82–84  ·  view source on GitHub ↗

GetTestingMySQLURL returns MySQL connection URL

()

Source from the content-addressed store, hash-verified

80
81// GetTestingMySQLURL returns MySQL connection URL
82func GetTestingMySQLURL() string {
83 return fmt.Sprintf("mysql://%s", GetTestingMySQLConfig().FormatDSN())
84}
85
86func createTestingMySQLDB() *DB {
87 db, e := OpenAndConnectDB(GetTestingMySQLURL())

Callers 15

execStmtFunction · 0.92
TestUsingModelZooModelFunction · 0.92
TestModelZooServerFunction · 0.92
TestGenerateExplainStmtFunction · 0.92
TestEnd2EndMySQLFunction · 0.92
startTestModelZooServerFunction · 0.92
caseReleaseModelFunction · 0.92
caseReleaseModelLocalFunction · 0.92
main_test.goFile · 0.92
TestStepStandardSQLFunction · 0.92

Calls 1

GetTestingMySQLConfigFunction · 0.85

Tested by 15

execStmtFunction · 0.74
TestUsingModelZooModelFunction · 0.74
TestModelZooServerFunction · 0.74
TestGenerateExplainStmtFunction · 0.74
TestEnd2EndMySQLFunction · 0.74
startTestModelZooServerFunction · 0.74
caseReleaseModelFunction · 0.74
caseReleaseModelLocalFunction · 0.74
TestStepStandardSQLFunction · 0.74
TestStepSQLWithCommentFunction · 0.74
TestStepTrainSQLFunction · 0.74