mssql

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package mssql is the plugin for MSSQL driver.

Index

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) Close

func (d *Driver) Close(_ context.Context) error

Close closes the driver.

func (*Driver) GetDB

func (d *Driver) GetDB() *sql.DB

GetDB gets the database.

func (*Driver) Open

func (d *Driver) Open(_ context.Context, _ storepb.Engine, config db.ConnectionConfig) (db.Driver, error)

Open opens a MSSQL driver.

func (*Driver) Ping

func (d *Driver) Ping(ctx context.Context) error

Ping pings the database.

func (*Driver) SyncDBSchema

func (d *Driver) SyncDBSchema(ctx context.Context) (*storepb.DatabaseSchemaMetadata, error)

SyncDBSchema syncs a single database schema.

func (*Driver) SyncInstance

func (d *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, error)

SyncInstance syncs the instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL