MCPcopy
hub / github.com/pingcap/tidb / GetDB

Method GetDB

pkg/testkit/dbtestkit.go:94–96  ·  view source on GitHub ↗

GetDB returns the underlay sql.DB instance.

()

Source from the content-addressed store, hash-verified

92
93// GetDB returns the underlay sql.DB instance.
94func (tk *DBTestKit) GetDB() *sql.DB {
95 return tk.db
96}

Calls

no outgoing calls

Tested by 7

TestPostSettingsFunction · 0.76
prepareDataMethod · 0.76
TestVectorTypeGORMFunction · 0.64
TestAuditPluginRetryingFunction · 0.64