transaction

package
v0.0.0-...-91e0ed7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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

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

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 ...Param) Exec

Jump to

Keyboard shortcuts

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