types

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 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 PgxConn

type PgxConn struct {
	PgxQuerier
}

type PgxQuerier

type PgxQuerier interface {
	pgxtype.Querier
	Get(ctx context.Context, dst any, query string, args ...any) error
	Select(ctx context.Context, dst any, query string, args ...any) error
}

type PgxTransactor

type PgxTransactor interface {
	pgx.Tx
}

type PgxTx

type PgxTx struct {
	PgxTransactor
}

func (*PgxTx) Get

func (p *PgxTx) Get(ctx context.Context, dst any, query string, args ...any) error

func (*PgxTx) Select

func (p *PgxTx) Select(ctx context.Context, dst any, query string, args ...any) error

Jump to

Keyboard shortcuts

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