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

Struct Driver

backend/plugin/db/spanner/spanner.go:49–57  ·  view source on GitHub ↗

Driver is the Spanner driver.

Source from the content-addressed store, hash-verified

47
48// Driver is the Spanner driver.
49type Driver struct {
50 config db.ConnectionConfig
51 connCtx db.ConnectionContext
52 client *spanner.Client
53 dbClient *spannerdb.DatabaseAdminClient
54
55 // databaseName is the currently connected database name.
56 databaseName string
57}
58
59func newDriver() db.Driver {
60 return &Driver{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected