Documentation ¶
Index ¶
- type Model
- func (m *Model) Count(where []interface{}) (count int64)
- func (m *Model) Delete(where []interface{}) error
- func (m *Model) Find(dest interface{}, where []interface{}, fields, order string, offset, limit int)
- func (m *Model) FindOne(dest interface{}, where []interface{}, fields, order string)
- func (m *Model) NewMysql(dbc *types.DBCollector, dialect *types.MysqlDialect) (*gorm.DB, error)
- func (m *Model) Save(value interface{}, id ...int) (interface{}, error)
- func (m *Model) Update(where []interface{}, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.