stmt

package
v6.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlStmtIndexConvertImpl

type MysqlStmtIndexConvertImpl struct {
}

func (*MysqlStmtIndexConvertImpl) Convert

func (it *MysqlStmtIndexConvertImpl) Convert() string

func (*MysqlStmtIndexConvertImpl) Get

func (it *MysqlStmtIndexConvertImpl) Get() int

func (*MysqlStmtIndexConvertImpl) Inc

func (it *MysqlStmtIndexConvertImpl) Inc()

type OracleStmtIndexConvertImpl

type OracleStmtIndexConvertImpl struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*OracleStmtIndexConvertImpl) Convert

func (it *OracleStmtIndexConvertImpl) Convert() string

func (*OracleStmtIndexConvertImpl) Get

func (it *OracleStmtIndexConvertImpl) Get() int

func (*OracleStmtIndexConvertImpl) Inc

func (it *OracleStmtIndexConvertImpl) Inc()

type PostgreStmtIndexConvertImpl

type PostgreStmtIndexConvertImpl struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*PostgreStmtIndexConvertImpl) Convert

func (p *PostgreStmtIndexConvertImpl) Convert() string

func (*PostgreStmtIndexConvertImpl) Get

func (*PostgreStmtIndexConvertImpl) Inc

func (p *PostgreStmtIndexConvertImpl) Inc()

type StmtIndexConvert

type StmtIndexConvert interface {
	Convert() string
	Inc()
	Get() int
}

stmt convert example mysql: input 1 -> ? oracle : input 0 -> :val1 sqlite: input 0 -> " ? "

func BuildStmtConvert

func BuildStmtConvert(driverType string) (StmtIndexConvert, error)

build a stmt convert

Jump to

Keyboard shortcuts

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