stmt

package
v6.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: Apache-2.0 Imports: 1 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(index int) string

type OracleStmtIndexConvertImpl

type OracleStmtIndexConvertImpl struct {
}

func (*OracleStmtIndexConvertImpl) Convert

func (it *OracleStmtIndexConvertImpl) Convert(index int) string

type PostgreStmtIndexConvertImpl

type PostgreStmtIndexConvertImpl struct {
}

func (*PostgreStmtIndexConvertImpl) Convert

func (it *PostgreStmtIndexConvertImpl) Convert(index int) string

type StmtIndexConvert

type StmtIndexConvert interface {
	Convert(index int) string
}

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