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

Function GetSessionFromTestingDB

go/database/testing.go:173–177  ·  view source on GitHub ↗

GetSessionFromTestingDB construct a proto message Session representing the testing database configuration.

()

Source from the content-addressed store, hash-verified

171// GetSessionFromTestingDB construct a proto message Session
172// representing the testing database configuration.
173func GetSessionFromTestingDB() *proto.Session {
174 db := GetTestingDBSingleton()
175 return &proto.Session{
176 DbConnStr: db.URL()}
177}

Calls 2

GetTestingDBSingletonFunction · 0.85
URLMethod · 0.80