Documentation
¶
Index ¶
- func GetDisallowedParametersList() []string
- func GetNotPersistentParametersList() []string
- func GetUseParametersList() []string
- func MakeStmt(executor Executor, query string, style contextUtils.PreparedStatementsStyle) (*fireboltStmt, error)
- type Executor
- type PreparedQuery
- type SetStatement
- type SingleStatement
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)
Click to show internal directories.
Click to hide internal directories.