mssql

package
v5.2.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: Apache-2.0 Imports: 15 Imported by: 92

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMssqlMacroEngine

func NewMssqlMacroEngine() tsdb.SqlMacroEngine

func NewMssqlQueryEndpoint

func NewMssqlQueryEndpoint(datasource *models.DataSource) (tsdb.TsdbQueryEndpoint, error)

Types

type MsSqlMacroEngine

type MsSqlMacroEngine struct {
	TimeRange *tsdb.TimeRange
	Query     *tsdb.Query
}

func (*MsSqlMacroEngine) Interpolate

func (m *MsSqlMacroEngine) Interpolate(query *tsdb.Query, timeRange *tsdb.TimeRange, sql string) (string, error)

type MssqlQueryEndpoint

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

func (*MssqlQueryEndpoint) Query

func (e *MssqlQueryEndpoint) Query(ctx context.Context, dsInfo *models.DataSource, tsdbQuery *tsdb.TsdbQuery) (*tsdb.Response, error)

Query is the main function for the MssqlQueryEndpoint

Jump to

Keyboard shortcuts

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