test

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PeopleMgr *_PeopleMgr

Functions

func Get_PeopleMgr

func Get_PeopleMgr() *_PeopleMgr

Get_PeopleMgr returns the orm manager in case of its name starts with lower letter

func MssqlAddQueryContextWrapper

func MssqlAddQueryContextWrapper(r db.QueryContextWrapper)

func MssqlAddQueryWrapper

func MssqlAddQueryWrapper(r db.QueryWrapper)

func MssqlClose

func MssqlClose() error

func MssqlSetMaxIdleConns

func MssqlSetMaxIdleConns(maxIdleConns int)

func MssqlSetMaxOpenConns

func MssqlSetMaxOpenConns(maxOpenConns int)

func MssqlSetUp

func MssqlSetUp(dataSourceName string)

Types

type People

type People struct {
	NonIndexA   string     `db:"NonIndexA"`
	NonIndexB   string     `db:"NonIndexB"`
	PeopleId    int32      `db:"PeopleId"`
	Age         int32      `db:"Age"`
	Name        string     `db:"Name"`
	IndexAPart1 int64      `db:"IndexAPart1"`
	IndexAPart2 int32      `db:"IndexAPart2"`
	IndexAPart3 int32      `db:"IndexAPart3"`
	UniquePart1 int32      `db:"UniquePart1"`
	UniquePart2 int32      `db:"UniquePart2"`
	CreateDate  *time.Time `db:"CreateDate"`
	UpdateDate  *time.Time `db:"UpdateDate"`
}

func (*People) GetClassName

func (p *People) GetClassName() string

func (*People) GetNameSpace

func (p *People) GetNameSpace() string

type PeopleSQLResult

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

func (*PeopleSQLResult) LastInsertId

func (sr *PeopleSQLResult) LastInsertId() (int64, error)

func (*PeopleSQLResult) RowsAffected

func (sr *PeopleSQLResult) RowsAffected() (int64, error)

Jump to

Keyboard shortcuts

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