sqlqb

package
v0.0.0-...-2e0ef96 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QB

type QB struct {
	Query  string
	QueryX string
	Args   []interface{}
	ArgsX  map[string]interface{}
	// contains filtered or unexported fields
}

func (*QB) Begin

func (qb *QB) Begin(baseQuery string, tagKey string) error

func (*QB) ColumnsListFromStruct

func (qb *QB) ColumnsListFromStruct(structIn interface{}, typeTagKey string) error

func (*QB) SelectListFromStruct

func (qb *QB) SelectListFromStruct(structIn interface{}, selectEmpty bool) error

func (*QB) SetWhereFromStruct

func (qb *QB) SetWhereFromStruct(structIn interface{}, whereStruct interface{}, setEmpty bool) error

func (*QB) ValuesFromStruct

func (qb *QB) ValuesFromStruct(structIn interface{}) error

func (*QB) WhereAndFromStruct

func (qb *QB) WhereAndFromStruct(structIn interface{}) error

Jump to

Keyboard shortcuts

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