From ba7832798ab5343cc1f4564dc5139fc317f5cc9a Mon Sep 17 00:00:00 2001 From: askuy Date: Wed, 14 Jun 2023 18:39:45 +0800 Subject: [PATCH] interceptor row --- component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component.go b/component.go index a12ee57..aa5f601 100644 --- a/component.go +++ b/component.go @@ -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 }