Version: v0.2.6 Latest Latest

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0




This section is empty.


This section is empty.


func DeleteTestTable added in v0.2.2

func DeleteTestTable(sess *gobatis.Session, model TestTable) (int64, error)

func InsertBatchTestTable added in v0.2.2

func InsertBatchTestTable(sess *gobatis.Session, models []TestTable) (int64, int64, error)

func InsertTestTable added in v0.2.2

func InsertTestTable(sess *gobatis.Session, model TestTable) (int64, int64, error)

func SelectTestTableCount added in v0.2.2

func SelectTestTableCount(sess *gobatis.Session, model TestTable) (int64, error)

func UpdateTestTable added in v0.2.2

func UpdateTestTable(sess *gobatis.Session, model TestTable) (int64, error)


type TestTable

type TestTable struct {
	//TableName gobatis.ModelName `test_table`
	Id         int       `xfield:"id"`
	Username   string    `xfield:"username"`
	Password   string    `xfield:"password"`
	Createtime time.Time `xfield:"createtime"`

func SelectTestTable added in v0.2.2

func SelectTestTable(sess *gobatis.Session, model TestTable) ([]TestTable, error)

func (*TestTable) Count added in v0.2.4

func (m *TestTable) Count(sess *gobatis.Session) (int64, error)

func (*TestTable) Delete added in v0.2.4

func (m *TestTable) Delete(sess *gobatis.Session) (int64, error)

func (*TestTable) Insert added in v0.2.4

func (m *TestTable) Insert(sess *gobatis.Session) (int64, int64, error)

func (*TestTable) Select added in v0.2.4

func (m *TestTable) Select(sess *gobatis.Session) ([]TestTable, error)

func (*TestTable) Update added in v0.2.4

func (m *TestTable) Update(sess *gobatis.Session) (int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL