forked from mirror/gorm
Fix row callback name
This commit is contained in:
parent
da16f7b475
commit
87112ab1c7
|
@ -45,6 +45,6 @@ func RegisterDefaultCallbacks(db *gorm.DB, config *Config) {
|
|||
updateCallback.Register("gorm:after_update", AfterUpdate)
|
||||
updateCallback.Match(enableTransaction).Register("gorm:commit_or_rollback_transaction", CommitOrRollbackTransaction)
|
||||
|
||||
db.Callback().Row().Register("gorm:raw", RowQuery)
|
||||
db.Callback().Row().Register("gorm:row", RowQuery)
|
||||
db.Callback().Raw().Register("gorm:raw", RawExec)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue