Documentation
¶
Overview ¶
Package mssql is the plugin for MSSQL driver.
Index ¶
- type Driver
- func (d *Driver) Close(_ context.Context) error
- func (d *Driver) GetDB() *sql.DB
- func (d *Driver) Open(_ context.Context, _ storepb.Engine, config db.ConnectionConfig) (db.Driver, error)
- func (d *Driver) Ping(ctx context.Context) error
- func (d *Driver) SyncDBSchema(ctx context.Context) (*storepb.DatabaseSchemaMetadata, error)
- func (d *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is the MSSQL driver.
func (*Driver) Open ¶
func (d *Driver) Open(_ context.Context, _ storepb.Engine, config db.ConnectionConfig) (db.Driver, error)
Open opens a MSSQL driver.
func (*Driver) SyncDBSchema ¶
SyncDBSchema syncs a single database schema.
func (*Driver) SyncInstance ¶
SyncInstance syncs the instance.
Click to show internal directories.
Click to hide internal directories.