statement

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDisallowedParametersList

func GetDisallowedParametersList() []string

func GetNotPersistentParametersList added in v1.11.0

func GetNotPersistentParametersList() []string

func GetUseParametersList

func GetUseParametersList() []string

func MakeStmt

func MakeStmt(executor Executor, query string, style contextUtils.PreparedStatementsStyle) (*fireboltStmt, error)

Types

type Executor

type Executor interface {
	ExecutePreparedQueries(ctx context.Context, queries []PreparedQuery, args []driver.NamedValue, isQuery bool) (rows.ExtendableRowsWithResult, error)
}

type PreparedQuery

type PreparedQuery interface {
	GetNumParams() int
	Format(args []driver.NamedValue) (string, map[string]string, error)
	OnSuccess(control client.ConnectionControl)
}

type SetStatement

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

func (*SetStatement) Format

func (s *SetStatement) Format(args []driver.NamedValue) (string, map[string]string, error)

func (*SetStatement) GetNumParams

func (s *SetStatement) GetNumParams() int

func (*SetStatement) OnSuccess

func (s *SetStatement) OnSuccess(control client.ConnectionControl)

type SingleStatement

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

func (*SingleStatement) Format

func (s *SingleStatement) Format(args []driver.NamedValue) (string, map[string]string, error)

func (*SingleStatement) GetNumParams

func (s *SingleStatement) GetNumParams() int

func (*SingleStatement) OnSuccess

func (s *SingleStatement) OnSuccess(control client.ConnectionControl)

Jump to

Keyboard shortcuts

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