sqlutil

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 1
	NORMAL uint8 = 1
	// 2
	COMMENT uint8 = 2
	// 3
	ALPABET uint8 = 3
	// 4
	NUMBER uint8 = 4
	// 5
	QUTATION uint8 = 5
	// 6
	COLON uint8 = 6
	// 7
	DQUTATION uint8 = 7
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EscapeLiteralSQL

type EscapeLiteralSQL struct {
	SqlType uint8
	// contains filtered or unexported fields
}

func NewEscapeLiteralSQL

func NewEscapeLiteralSQL(sql string) *EscapeLiteralSQL

func (*EscapeLiteralSQL) GetParameter

func (this *EscapeLiteralSQL) GetParameter() string

func (*EscapeLiteralSQL) GetParsedSql

func (this *EscapeLiteralSQL) GetParsedSql() string

func (*EscapeLiteralSQL) Process

func (this *EscapeLiteralSQL) Process() *EscapeLiteralSQL

func (*EscapeLiteralSQL) SetIncludeComment

func (this *EscapeLiteralSQL) SetIncludeComment(b bool) *EscapeLiteralSQL

func (*EscapeLiteralSQL) SetSubstituteStringMode

func (this *EscapeLiteralSQL) SetSubstituteStringMode(b bool) *EscapeLiteralSQL

func (*EscapeLiteralSQL) Setsubstitute

func (this *EscapeLiteralSQL) Setsubstitute(chr string) *EscapeLiteralSQL

Jump to

Keyboard shortcuts

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