sql

package
v0.0.0-...-4fe6537 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISqlDatabase

type ISqlDatabase interface {
	ExecWithContext(ctx context.Context, queryString string, opt ...interface{}) (string, error)
	Exit(ctx context.Context, errChannel chan error)
}

func NewDatabase

func NewDatabase(connectionString string) (ISqlDatabase, error)

type ISqlTransaction

type ISqlTransaction interface {
	ExecWithContext(ctx context.Context, queryString string, opt ...interface{}) (string, error)
	Commit() error
	RollBack() error
}

Jump to

Keyboard shortcuts

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