transaction

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 4 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 {
	ExtractQuery() builder.Query
}

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