Skip to content

Commit

Permalink
Merge pull request #9 from askuy/feature/interceptor20230614
Browse files Browse the repository at this point in the history
interceptor row
  • Loading branch information
askuy committed Jun 14, 2023
2 parents c3169ab + ba78327 commit bce70b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func newComponent(compName string, dsnParser manager.DSNParser, config *config,
replace(db.Callback().Update(), "gorm:update", config.interceptors...)
replace(db.Callback().Delete(), "gorm:delete", config.interceptors...)
replace(db.Callback().Query(), "gorm:query", config.interceptors...)
// replace(db.Callback().Row(), "gorm:row", config.interceptors...)
replace(db.Callback().Row(), "gorm:row", config.interceptors...)
replace(db.Callback().Raw(), "gorm:raw", config.interceptors...)
return db, nil
}

0 comments on commit bce70b4

Please sign in to comment.