View definition

(*Scope).CommitOrRollback

Defined in github.com/jinzhu/gorm/scope.go

Description

CommitOrRollback commit current transaction if no error happened, otherwise will rollback it

CommitOrRollback is referenced in 1 repository

github.com/jinzhu/gorm