transaction

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 5 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 added in v0.4.0

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

type Result added in v0.6.0

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

func (*Result) Get added in v0.6.0

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