tx

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tx

type Tx struct {
	*sqlx.Tx
	// contains filtered or unexported fields
}

func New

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

func (*Tx) Exec

func (this *Tx) Exec(query string, args ...interface{}) (contracts.Result, error)

func (*Tx) Query

func (this *Tx) Query(query string, args ...interface{}) (results contracts.Collection, err error)

Jump to

Keyboard shortcuts

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