tx

package
v0.4.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginTX

func BeginTX()

func GetDB added in v0.3.11

func GetDB() *gorm.DB

func IsInTX

func IsInTX() bool

func NeedRollback

func NeedRollback()

func SetDB

func SetDB(db *gorm.DB)

func TryCommit

func TryCommit()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL