16 lines
240 B
Go
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) {
|
|
}
|