MCPcopy Create free account
hub / github.com/bytebase/bytebase / Driver

Struct Driver

backend/plugin/db/redshift/redshift.go:53–63  ·  view source on GitHub ↗

Driver is the Postgres driver.

Source from the content-addressed store, hash-verified

51
52// Driver is the Postgres driver.
53type Driver struct {
54 config db.ConnectionConfig
55
56 db *sql.DB
57 sshClient *ssh.Client
58 // connectionString is the connection string registered by pgx.
59 // Unregister connectionString if we don't need it.
60 connectionString string
61 databaseName string
62 datashare bool
63}
64
65func newDriver() db.Driver {
66 return &Driver{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected