postgres

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TABLE_NAME_USERS = "users"
)

Variables

This section is empty.

Functions

func Benchmark

func Benchmark()

func POSTGRES_CustomTag added in v1.1.1

func POSTGRES_CustomTag(e *sqlca.Engine)

func POSTGRES_OrmDeleteFromTable added in v1.1.1

func POSTGRES_OrmDeleteFromTable(e *sqlca.Engine)

func POSTGRES_OrmInCondition added in v1.1.1

func POSTGRES_OrmInCondition(e *sqlca.Engine)

func POSTGRES_OrmInsertByModel added in v1.1.1

func POSTGRES_OrmInsertByModel(e *sqlca.Engine)

func POSTGRES_OrmQueryIntoModel added in v1.1.1

func POSTGRES_OrmQueryIntoModel(e *sqlca.Engine)

func POSTGRES_OrmQueryIntoModelSlice added in v1.1.1

func POSTGRES_OrmQueryIntoModelSlice(e *sqlca.Engine)

func POSTGRES_OrmSelectMultiTable added in v1.1.1

func POSTGRES_OrmSelectMultiTable(e *sqlca.Engine)

func POSTGRES_OrmUpdateByModel added in v1.1.1

func POSTGRES_OrmUpdateByModel(e *sqlca.Engine)

func POSTGRES_OrmUpdateIndexToCache added in v1.1.1

func POSTGRES_OrmUpdateIndexToCache(e *sqlca.Engine)

func POSTGRES_OrmUpsertByModel added in v1.1.1

func POSTGRES_OrmUpsertByModel(e *sqlca.Engine)

func POSTGRES_RawExec added in v1.1.1

func POSTGRES_RawExec(e *sqlca.Engine)

func POSTGRES_RawQueryIntoMap added in v1.1.1

func POSTGRES_RawQueryIntoMap(e *sqlca.Engine)

func POSTGRES_RawQueryIntoModel added in v1.1.1

func POSTGRES_RawQueryIntoModel(e *sqlca.Engine)

func POSTGRES_RawQueryIntoModelSlice added in v1.1.1

func POSTGRES_RawQueryIntoModelSlice(e *sqlca.Engine)

func POSTGRES_TxGetExec added in v1.1.1

func POSTGRES_TxGetExec(e *sqlca.Engine) (err error)

func POSTGRES_TxRollback added in v1.1.1

func POSTGRES_TxRollback(e *sqlca.Engine) (err error)

Types

type ClassDo

type ClassDo struct {
	Id      int32  `db:"id"`
	UserId  int32  `db:"user_id"`
	ClassNo string `db:"class_no"`
}

type UserDO

type UserDO struct {
	Id      int32  `db:"id"`
	Name    string `db:"name"`
	Phone   string `db:"phone"`
	Sex     int8   `db:"sex"`
	Email   string `db:"email"`
	Disable int8   `db:"disable"`
}

Jump to

Keyboard shortcuts

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