MCPcopy Index your code
hub / github.com/bytebase/bytebase / Driver

Struct Driver

backend/plugin/db/mysql/mysql.go:64–72  ·  view source on GitHub ↗

Driver is the MySQL driver.

Source from the content-addressed store, hash-verified

62
63// Driver is the MySQL driver.
64type Driver struct {
65 dbType storepb.Engine
66 db *sql.DB
67 databaseName string
68 sshClient *ssh.Client
69
70 // Called upon driver.Open() finishes.
71 openCleanUp []func()
72}
73
74func newDriver() db.Driver {
75 return &Driver{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected