transaction

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	// contains filtered or unexported fields
}

func (Exec) Exec

func (r Exec) Exec(ctx context.Context) error

type Param deprecated

type Param = Transaction

Deprecated: use Transaction instead

type Result

type Result struct {
	// contains filtered or unexported fields
}

func (*Result) Get

func (r *Result) Get(c <-chan []byte, v interface{}) error

type TX

type TX struct {
	Engine engine.Engine
}

func (TX) Transaction

func (r TX) Transaction(queries ...Transaction) Exec

type Transaction added in v0.34.0

type Transaction interface {
	IsTx()
	ExtractQuery() builder.Query
}

Jump to

Keyboard shortcuts

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