tx

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(tx *sqlx.Tx, events contracts.EventDispatcher) contracts.DBTx

Types

type CommitException added in v0.2.0

type CommitException = exceptions.Exception

type RollbackException added in v0.2.0

type RollbackException = exceptions.Exception

type Tx

type Tx struct {
	support.Executor
	// contains filtered or unexported fields
}

func (*Tx) Commit added in v0.1.4

func (t *Tx) Commit() contracts.Exception

func (*Tx) Rollback added in v0.1.4

func (t *Tx) Rollback() contracts.Exception

Jump to

Keyboard shortcuts

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