queryfx

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(new)

Module is to provide dependency of query to main app

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In

	// MyConfig is the current Athenadriver Config
	MyConfig configfx.AthenaDriverConfig
}

Params defines the dependencies or inputs

type QueryAndDBConnection

type QueryAndDBConnection struct {
	// DB is the pointer to sql/database DB
	DB *sql.DB
	// Query is the query string
	Query []string
}

QueryAndDBConnection is the result of queryfx module

type Result

type Result struct {
	fx.Out

	// QAD is the Query and DB Connection
	QAD QueryAndDBConnection
}

Result defines output

Jump to

Keyboard shortcuts

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