Help us shape the future of Go! Take the 2026 Go Developer Survey

pgxpool

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresModule

type PostgresModule struct {
	Mod      string              `yaml:"module"`
	Name     string              `yaml:"name"`
	Port     string              `yaml:"port"`
	Host     commoncfg.SourceRef `yaml:"host"`
	User     commoncfg.SourceRef `yaml:"user"`
	Password commoncfg.SourceRef `yaml:"password"`
	// contains filtered or unexported fields
}

func (*PostgresModule) Exec

func (m *PostgresModule) Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)

func (*PostgresModule) Module

func (*PostgresModule) Provision

func (m *PostgresModule) Provision(ctx *sessionmanager.Context) error

func (*PostgresModule) Query

func (m *PostgresModule) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)

func (*PostgresModule) QueryRow

func (m *PostgresModule) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row

func (*PostgresModule) STDAdapter

func (m *PostgresModule) STDAdapter() *sql.DB

Jump to

Keyboard shortcuts

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