abstractor

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLAbstractor added in v0.2.0

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

func NewMySQLAbstractor added in v0.2.0

func NewMySQLAbstractor(bundleWhereIn, bundleInsertValues bool) *MySQLAbstractor

func (*MySQLAbstractor) Abstract added in v0.2.0

func (a *MySQLAbstractor) Abstract(rootNode *ast.StmtNode) (string, error)

type PGAbstractor added in v0.2.0

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

func NewPGAbstractor added in v0.2.0

func NewPGAbstractor(noAbstract, bundleWhereIn, bundleValues bool) *PGAbstractor

func (*PGAbstractor) Abstract added in v0.2.0

func (a *PGAbstractor) Abstract(sql string) (string, error)

Jump to

Keyboard shortcuts

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