mssql

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TABLE_NAME_USERS   = "users"
	TABLE_NAME_CLASSES = "classes"
)

Variables

This section is empty.

Functions

func Benchmark

func Benchmark()

func MSSQL_CustomTag

func MSSQL_CustomTag(e *sqlca.Engine)

func MSSQL_OrmDeleteFromTable

func MSSQL_OrmDeleteFromTable(e *sqlca.Engine)

func MSSQL_OrmInCondition

func MSSQL_OrmInCondition(e *sqlca.Engine)

func MSSQL_OrmInsertByModel

func MSSQL_OrmInsertByModel(e *sqlca.Engine)

func MSSQL_OrmQueryIntoModel

func MSSQL_OrmQueryIntoModel(e *sqlca.Engine)

func MSSQL_OrmQueryIntoModelSlice

func MSSQL_OrmQueryIntoModelSlice(e *sqlca.Engine)

func MSSQL_OrmSelectMultiTable

func MSSQL_OrmSelectMultiTable(e *sqlca.Engine)

func MSSQL_OrmUpdateByModel

func MSSQL_OrmUpdateByModel(e *sqlca.Engine)

func MSSQL_OrmUpdateIndexToCache

func MSSQL_OrmUpdateIndexToCache(e *sqlca.Engine)

func MSSQL_OrmUpsertByModel

func MSSQL_OrmUpsertByModel(e *sqlca.Engine)

func MSSQL_RawExec

func MSSQL_RawExec(e *sqlca.Engine)

func MSSQL_RawQueryIntoMap

func MSSQL_RawQueryIntoMap(e *sqlca.Engine)

func MSSQL_RawQueryIntoModel

func MSSQL_RawQueryIntoModel(e *sqlca.Engine)

func MSSQL_RawQueryIntoModelSlice

func MSSQL_RawQueryIntoModelSlice(e *sqlca.Engine)

func MSSQL_TxGetExec

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

func MSSQL_TxRollback

func MSSQL_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