Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TransactionManager ¶
type TransactionManager struct { *gorm.DB `inject:"database"` // contains filtered or unexported fields }
func (*TransactionManager) BeginTransaction ¶
func (m *TransactionManager) BeginTransaction()
func (*TransactionManager) Commit ¶
func (m *TransactionManager) Commit() error
func (*TransactionManager) EndTransaction ¶
func (m *TransactionManager) EndTransaction() error
func (*TransactionManager) InTransaction ¶
func (m *TransactionManager) InTransaction() bool
func (*TransactionManager) Rollback ¶
func (m *TransactionManager) Rollback()
func (*TransactionManager) Session ¶
func (m *TransactionManager) Session() *gorm.DB
Click to show internal directories.
Click to hide internal directories.