feat(app): update
This commit is contained in:
@ -199,14 +199,14 @@ type IUserGameRolePropDo interface {
|
||||
Find() ([]*model.UserGameRoleProp, error)
|
||||
FindInBatch(batchSize int, fc func(tx gen.Dao, batch int) error) (results []*model.UserGameRoleProp, err error)
|
||||
FindInBatches(result *[]*model.UserGameRoleProp, batchSize int, fc func(tx gen.Dao, batch int) error) error
|
||||
Pluck(column field.Expr, dest interface{}) error
|
||||
Pluck(column field.Expr, dest any) error
|
||||
Delete(...*model.UserGameRoleProp) (info gen.ResultInfo, err error)
|
||||
Update(column field.Expr, value interface{}) (info gen.ResultInfo, err error)
|
||||
Update(column field.Expr, value any) (info gen.ResultInfo, err error)
|
||||
UpdateSimple(columns ...field.AssignExpr) (info gen.ResultInfo, err error)
|
||||
Updates(value interface{}) (info gen.ResultInfo, err error)
|
||||
UpdateColumn(column field.Expr, value interface{}) (info gen.ResultInfo, err error)
|
||||
Updates(value any) (info gen.ResultInfo, err error)
|
||||
UpdateColumn(column field.Expr, value any) (info gen.ResultInfo, err error)
|
||||
UpdateColumnSimple(columns ...field.AssignExpr) (info gen.ResultInfo, err error)
|
||||
UpdateColumns(value interface{}) (info gen.ResultInfo, err error)
|
||||
UpdateColumns(value any) (info gen.ResultInfo, err error)
|
||||
UpdateFrom(q gen.SubQuery) gen.Dao
|
||||
Attrs(attrs ...field.AssignExpr) IUserGameRolePropDo
|
||||
Assign(attrs ...field.AssignExpr) IUserGameRolePropDo
|
||||
@ -215,9 +215,9 @@ type IUserGameRolePropDo interface {
|
||||
FirstOrInit() (*model.UserGameRoleProp, error)
|
||||
FirstOrCreate() (*model.UserGameRoleProp, error)
|
||||
FindByPage(offset int, limit int) (result []*model.UserGameRoleProp, count int64, err error)
|
||||
ScanByPage(result interface{}, offset int, limit int) (count int64, err error)
|
||||
Scan(result interface{}) (err error)
|
||||
Returning(value interface{}, columns ...string) IUserGameRolePropDo
|
||||
ScanByPage(result any, offset int, limit int) (count int64, err error)
|
||||
Scan(result any) (err error)
|
||||
Returning(value any, columns ...string) IUserGameRolePropDo
|
||||
UnderlyingDB() *gorm.DB
|
||||
schema.Tabler
|
||||
}
|
||||
@ -246,7 +246,7 @@ func (u userGameRolePropDo) Clauses(conds ...clause.Expression) IUserGameRolePro
|
||||
return u.withDO(u.DO.Clauses(conds...))
|
||||
}
|
||||
|
||||
func (u userGameRolePropDo) Returning(value interface{}, columns ...string) IUserGameRolePropDo {
|
||||
func (u userGameRolePropDo) Returning(value any, columns ...string) IUserGameRolePropDo {
|
||||
return u.withDO(u.DO.Returning(value, columns...))
|
||||
}
|
||||
|
||||
@ -429,7 +429,7 @@ func (u userGameRolePropDo) FindByPage(offset int, limit int) (result []*model.U
|
||||
return
|
||||
}
|
||||
|
||||
func (u userGameRolePropDo) ScanByPage(result interface{}, offset int, limit int) (count int64, err error) {
|
||||
func (u userGameRolePropDo) ScanByPage(result any, offset int, limit int) (count int64, err error) {
|
||||
count, err = u.Count()
|
||||
if err != nil {
|
||||
return
|
||||
@ -439,7 +439,7 @@ func (u userGameRolePropDo) ScanByPage(result interface{}, offset int, limit int
|
||||
return
|
||||
}
|
||||
|
||||
func (u userGameRolePropDo) Scan(result interface{}) (err error) {
|
||||
func (u userGameRolePropDo) Scan(result any) (err error) {
|
||||
return u.DO.Scan(result)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user