postgre

package module
v0.0.0-...-6d0919a Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S_Insertor

type S_Insertor struct {
	PGR         *sql.DB
	QueryAs     string
	QueryValues string
	QueryTable  string
	QueryWhere  string
	Arguments   []interface{}
}

func NewInsertor

func NewInsertor(PGR *sql.DB) *S_Insertor

func (*S_Insertor) As

func (q *S_Insertor) As(keys ...string) *S_Insertor

func (*S_Insertor) Do

func (q *S_Insertor) Do() (string, error)

func (*S_Insertor) Into

func (q *S_Insertor) Into(table string) *S_Insertor

func (*S_Insertor) Values

func (q *S_Insertor) Values(values ...string) *S_Insertor

type S_Updator

type S_Updator struct {
	PGR         *sql.DB
	QueryValues string
	QueryTable  string
	QueryWhere  string
	Arguments   []interface{}
}

func NewUpdator

func NewUpdator(PGR *sql.DB) *S_Updator

func (*S_Updator) Do

func (q *S_Updator) Do() error

func (*S_Updator) Into

func (q *S_Updator) Into(table string) *S_Updator

func (*S_Updator) Set

func (q *S_Updator) Set(values []S_UpdatorSetter) *S_Updator

func (*S_Updator) Where

func (q *S_Updator) Where(asserts ...S_UpdatorWhere) *S_Updator

type S_UpdatorSetter

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

type S_UpdatorWhere

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

Jump to

Keyboard shortcuts

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