sql_datastore

package
v0.0.0-...-25eaeca Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore interface {
	Beginx() (*sqlx.Tx, error)
	Close() error
	Executor
}

type Executor

type Executor interface {
	ExecContext(ctx context.Context, sql string, args ...interface{}) (sql.Result, error)
	QueryRowxContext(ctx context.Context, sql string, args ...interface{}) *sqlx.Row
	QueryxContext(ctx context.Context, sql string, args ...interface{}) (*sqlx.Rows, error)
}

Jump to

Keyboard shortcuts

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