Documentation
¶
Overview ¶
Package mssql provides a Microsoft SQL Server database adapter.
Index ¶
- func New(dsn string) (core.Source, error)
- type MSSQLAdapter
- func (m *MSSQLAdapter) Close(ctx context.Context) error
- func (m *MSSQLAdapter) Connect(ctx context.Context) error
- func (m *MSSQLAdapter) ExecuteQuery(ctx context.Context, query string, args ...any) (*core.QueryResult, error)
- func (m *MSSQLAdapter) GetSchema(ctx context.Context) ([]core.TableSchema, error)
- func (m *MSSQLAdapter) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MSSQLAdapter ¶
type MSSQLAdapter struct {
// contains filtered or unexported fields
}
MSSQLAdapter implements the core.Source interface for Microsoft SQL Server.
func (*MSSQLAdapter) ExecuteQuery ¶
func (m *MSSQLAdapter) ExecuteQuery(ctx context.Context, query string, args ...any) (*core.QueryResult, error)
func (*MSSQLAdapter) GetSchema ¶
func (m *MSSQLAdapter) GetSchema(ctx context.Context) ([]core.TableSchema, error)
func (*MSSQLAdapter) Name ¶
func (m *MSSQLAdapter) Name() string
Click to show internal directories.
Click to hide internal directories.