ncorest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conf *config.Config) (client.Client, error)

Types

type Client

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

func (Client) RawSQLPost

func (n Client) RawSQLPost(
	_ context.Context,
	query models.Query,
	credentials models.Credentials,
) (map[string]client.QueryResult, error)

type SQLFactoryRequest

type SQLFactoryRequest struct {
	Sqlcmd string `json:"sqlcmd"`
}

type SQLFactoryResponse

type SQLFactoryResponse struct {
	Rowset struct {
		AffectedRows int
		Rows         []map[string]any `json:"rows"`
	} `json:"rowset"`
}

Jump to

Keyboard shortcuts

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