mssql

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(config database.Config) (database.Database, error)

Types

type MssqlDatabase

type MssqlDatabase struct {
	// contains filtered or unexported fields
}

func (*MssqlDatabase) Close

func (d *MssqlDatabase) Close() error

func (*MssqlDatabase) DB

func (d *MssqlDatabase) DB() *sql.DB

func (*MssqlDatabase) DumpDDLs

func (d *MssqlDatabase) DumpDDLs() (string, error)

func (*MssqlDatabase) GetDefaultSchema

func (d *MssqlDatabase) GetDefaultSchema() string

type MssqlParser

type MssqlParser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser() MssqlParser

func (MssqlParser) Parse

func (p MssqlParser) Parse(sql string) ([]database.DDLStatement, error)

Jump to

Keyboard shortcuts

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