Documentation
¶
Index ¶
- func Camel2Case(name string) string
- func Case2Camel(name string) string
- func Lcfirst(str string) string
- func Ucfirst(str string) string
- type BaseMapper
- func (this BaseMapper) Count(wrapper *xjtypes.GormWrapper, item interface{}, total *int64) error
- func (this BaseMapper) Create(item interface{}) (int64, error)
- func (this BaseMapper) Delete(wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
- func (this BaseMapper) Find(wrapper *xjtypes.GormWrapper, list interface{}) error
- func (this BaseMapper) FindCount(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
- func (this BaseMapper) FindCount2(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
- func (this BaseMapper) FindCount3(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
- func (this BaseMapper) FindString(sql string, args []interface{}) (list []map[string]string, err error)
- func (this BaseMapper) First(wrapper *xjtypes.GormWrapper, item interface{}) error
- func (this BaseMapper) FirstString(sql string, args []interface{}) (item map[string]string, err error)
- func (this BaseMapper) Save(item interface{}) (int64, error)
- func (this BaseMapper) Update(wrapper *xjtypes.GormWrapper, item interface{}, column string, ...) (int64, error)
- func (this BaseMapper) Updates(wrapper *xjtypes.GormWrapper, item interface{}, values interface{}) (int64, error)
- func (this BaseMapper) UpdatesItem(wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
- func (this BaseMapper) UpdatesTable(wrapper *xjtypes.GormWrapper, table string) (int64, error)
- type Buffer
- type TxMapper
- func (this TxMapper) Count(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}, total *int64) error
- func (this TxMapper) Create(tx *gorm.DB, item interface{}) (int64, error)
- func (this TxMapper) Delete(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
- func (this TxMapper) Find(tx *gorm.DB, wrapper *xjtypes.GormWrapper, list interface{}) error
- func (this TxMapper) FindCount(tx *gorm.DB, wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
- func (this TxMapper) FindCount2(tx *gorm.DB, wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
- func (this TxMapper) FindString(tx *gorm.DB, sql string, args []interface{}) (list []map[string]string, err error)
- func (this TxMapper) First(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}) error
- func (this TxMapper) FirstString(tx *gorm.DB, sql string, args []interface{}) (item map[string]string, err error)
- func (this TxMapper) Save(tx *gorm.DB, item interface{}) (int64, error)
- func (this TxMapper) Update(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}, column string, ...) (int64, error)
- func (this TxMapper) Updates(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}, ...) (int64, error)
- func (this TxMapper) UpdatesItem(tx *gorm.DB, wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
- func (this TxMapper) UpdatesTable(tx *gorm.DB, wrapper *xjtypes.GormWrapper, table string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseMapper ¶
func (BaseMapper) Count ¶
func (this BaseMapper) Count(wrapper *xjtypes.GormWrapper, item interface{}, total *int64) error
func (BaseMapper) Create ¶
func (this BaseMapper) Create(item interface{}) (int64, error)
func (BaseMapper) Delete ¶
func (this BaseMapper) Delete(wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
func (BaseMapper) Find ¶
func (this BaseMapper) Find(wrapper *xjtypes.GormWrapper, list interface{}) error
func (BaseMapper) FindCount ¶
func (this BaseMapper) FindCount(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
func (BaseMapper) FindCount2 ¶
func (this BaseMapper) FindCount2(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
func (BaseMapper) FindCount3 ¶
func (this BaseMapper) FindCount3(wrapper *xjtypes.GormWrapper, list interface{}, total *int64) error
func (BaseMapper) FindString ¶
func (this BaseMapper) FindString(sql string, args []interface{}) (list []map[string]string, err error)
func (BaseMapper) First ¶
func (this BaseMapper) First(wrapper *xjtypes.GormWrapper, item interface{}) error
func (BaseMapper) FirstString ¶
func (this BaseMapper) FirstString(sql string, args []interface{}) (item map[string]string, err error)
func (BaseMapper) Save ¶
func (this BaseMapper) Save(item interface{}) (int64, error)
func (BaseMapper) Update ¶
func (this BaseMapper) Update(wrapper *xjtypes.GormWrapper, item interface{}, column string, value interface{}) (int64, error)
func (BaseMapper) Updates ¶
func (this BaseMapper) Updates(wrapper *xjtypes.GormWrapper, item interface{}, values interface{}) (int64, error)
func (BaseMapper) UpdatesItem ¶
func (this BaseMapper) UpdatesItem(wrapper *xjtypes.GormWrapper, item interface{}) (int64, error)
func (BaseMapper) UpdatesTable ¶
func (this BaseMapper) UpdatesTable(wrapper *xjtypes.GormWrapper, table string) (int64, error)
type TxMapper ¶
type TxMapper struct{}
func (TxMapper) FindCount2 ¶
func (TxMapper) FindString ¶
func (TxMapper) FirstString ¶
func (TxMapper) UpdatesItem ¶
func (TxMapper) UpdatesTable ¶
Click to show internal directories.
Click to hide internal directories.