Documentation ¶
Index ¶
- type Model
- func (mod *Model) Conn() *xorm.Engine
- func (mod *Model) Count(conditions *storage.Conditions, d ...interface{}) (int64, error)
- func (mod *Model) Delete(conditions *storage.Conditions, d ...interface{}) (int64, error)
- func (mod *Model) Exec(sql ...interface{}) (sql.Result, error)
- func (mod *Model) Insert(d ...interface{}) (int64, error)
- func (mod *Model) Query(sql ...interface{}) ([]map[string][]byte, error)
- func (mod *Model) Select(conditions *storage.Conditions, d interface{}) (int8, error)
- func (mod *Model) Update(conditions *storage.Conditions, d interface{}, bean ...interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) Count ¶
func (mod *Model) Count(conditions *storage.Conditions, d ...interface{}) (int64, error)
func (*Model) Delete ¶
func (mod *Model) Delete(conditions *storage.Conditions, d ...interface{}) (int64, error)
Click to show internal directories.
Click to hide internal directories.