client

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQLClient = "SQLClient"
	BQClient  = "BigQueryClient"
	DBClient  = "DBClient"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	SQL       *sql.DB
	BQ        *bigquery.Client
	DBHandleT *databricks.DBHandleT
	Type      string
}

func (*Client) Close

func (cl *Client) Close()

func (*Client) Query

func (cl *Client) Query(statement string) (result warehouseutils.QueryResult, err error)

Jump to

Keyboard shortcuts

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