execute

package
v0.0.0-...-66c7839 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_READ_SIZE = 8192
)

Variables

This section is empty.

Functions

func Start

func Start(ec *config.ExecuteConfig, dbc *config.DBConfig)

Types

type Executor

type Executor struct {
	EmitSuccess bool
	ExecSuccess bool
	ParseCount  int64
	ExecCount   int64
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(ec *config.ExecuteConfig, dbc *config.DBConfig) *Executor

func (*Executor) IncrCount

func (this *Executor) IncrCount()

func (*Executor) Start

func (this *Executor) Start() error

type SqlContext

type SqlContext struct {
	Sql string
	Tag int64
}

func NewSqlContext

func NewSqlContext(sql string, tag int64) *SqlContext

Jump to

Keyboard shortcuts

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