snow

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnowflakeSql

type SnowflakeSql struct {
	Sql      string
	FileName string
}

func LoadSqls

func LoadSqls(folder string) ([]SnowflakeSql, error)

type SnowflakeSqlExecutor

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

func NewSnowflakeSqlExecutor

func NewSnowflakeSqlExecutor(options ...SnowflakeSqlExecutorOption) *SnowflakeSqlExecutor

func (*SnowflakeSqlExecutor) Execute

func (s *SnowflakeSqlExecutor) Execute(ctx context.Context, snowSqls []SnowflakeSql) error

type SnowflakeSqlExecutorOption

type SnowflakeSqlExecutorOption func(*SnowflakeSqlExecutor)

func WithDb

func WithDb(db *sql.DB) SnowflakeSqlExecutorOption

func WithParallelDegree

func WithParallelDegree(degree int) SnowflakeSqlExecutorOption

Jump to

Keyboard shortcuts

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