Documentation
¶
Index ¶
- func DeleteTestTable(sess *gobatis.Session, model TestTable) (int64, error)
- func InsertBatchTestTable(sess *gobatis.Session, models []TestTable) (int64, int64, error)
- func InsertTestTable(sess *gobatis.Session, model TestTable) (int64, int64, error)
- func SelectTestTableCount(sess *gobatis.Session, model TestTable) (int64, error)
- func UpdateTestTable(sess *gobatis.Session, model TestTable) (int64, error)
- type TestTable
- func (m *TestTable) Count(sess *gobatis.Session) (int64, error)
- func (m *TestTable) Delete(sess *gobatis.Session) (int64, error)
- func (m *TestTable) Insert(sess *gobatis.Session) (int64, int64, error)
- func (m *TestTable) Select(sess *gobatis.Session) ([]TestTable, error)
- func (m *TestTable) Update(sess *gobatis.Session) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTestTable ¶ added in v0.2.7
func InsertBatchTestTable ¶ added in v0.2.7
func InsertTestTable ¶ added in v0.2.7
func SelectTestTableCount ¶ added in v0.2.7
Types ¶
type TestTable ¶
type TestTable struct {
//TableName gobatis.TableName `test_table`
Id int `column:"id"`
Username string `column:"username"`
Password string `column:"password"`
Createtime time.Time `column:"createtime"`
}
func SelectTestTable ¶ added in v0.2.7
Click to show internal directories.
Click to hide internal directories.