gorm/callback_shared.go
2014-01-26 19:36:15 +08:00

16 lines
240 B
Go

package gorm
func BeginTransaction(scope *Scope) {
scope.Begin()
}
func CommitOrRollbackTransaction(scope *Scope) {
scope.CommitOrRollback()
}
func SaveBeforeAssociations(scope *Scope) {
}
func SaveAfterAssociations(scope *Scope) {
}