Documentation ¶
Index ¶
- func Create(orm *gorm.DB, object interface{}) error
- func DbInit(driver, url string) (*gorm.DB, error)
- func Delete(orm *gorm.DB, object interface{}, id uint64) error
- func DeleteBatchByIds(orm *gorm.DB, object interface{}, ids ...uint64) error
- func FindById(orm *gorm.DB, id uint, object interface{}) (err error)
- func Read(orm *gorm.DB, object interface{}, id uint) error
- func Search(orm *gorm.DB, object interface{}, list interface{}, ...) error
- func Update(orm *gorm.DB, object interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBatchByIds ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.