sqlmap

package module
v0.0.0-...-79731e3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

sqlmap

Documentation

Index

Constants

View Source
const (
	MetaMapper = "sqlmap.Mapper"
	MetaSelect = "sqlmap.Select"
	MetaInsert = "sqlmap.Insert"
	MetaUpdate = "sqlmap.Update"
	MetaDelete = "sqlmap.Delete"
	MetaNone   = "sqlmap.None"
)

Variables

View Source
var TmplSQL string

Functions

func DefaultPkgGenFactory

func DefaultPkgGenFactory(defaultEngine engine.Engine) meta.PkgGenFactory

func NewFunctions

func NewFunctions(gen *meta.TmplPkgGen, defaultEngine engine.Engine) *functions

Types

type Delete

type Delete struct {
	Query string
}

Delete +meta.Decl

func (*Delete) GetQuery

func (d *Delete) GetQuery() string

type Insert

type Insert struct {
	Query string
}

Insert +meta.Decl

func (*Insert) GetQuery

func (i *Insert) GetQuery() string

type Mapper

type Mapper struct {
	Table   string
	Dialect string
}

Mapper +meta.Decl

type None

type None struct {
}

None +meta.Decl

type Querier

type Querier interface {
	GetQuery() string
}

type Select

type Select struct {
	Query  string
	Master bool
}

Select +meta.Decl

func (*Select) GetQuery

func (s *Select) GetQuery() string

type Update

type Update struct {
	Query string
}

Update +meta.Decl

func (*Update) GetQuery

func (u *Update) GetQuery() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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