conn

package
v0.0.0-...-80e4815 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnPool

type ConnPool struct {
	Connection driver.Connection
	Database   driver.Database
	Return     ConnPoolReturn
}

func (*ConnPool) ExecContext

func (connPool *ConnPool) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

func (*ConnPool) PrepareContext

func (connPool *ConnPool) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)

func (*ConnPool) QueryContext

func (connPool *ConnPool) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)

func (*ConnPool) QueryRowContext

func (connPool *ConnPool) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row

type ConnPoolReturn

type ConnPoolReturn struct {
	Dest     interface{}
	ElemType reflect.Type
	IsSlice  bool
}

Jump to

Keyboard shortcuts

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