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

postgresql

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSourceID = "postgresql"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(db Queryer, opts ...Option) grpcdatasource.ExecuteQueryHandler

Types

type Option

type Option func(*handler)

func WithBatchSize

func WithBatchSize(batchSize int) Option

func WithSourceID

func WithSourceID(sourceID string) Option

type Queryer

type Queryer interface {
	QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error)
}

Jump to

Keyboard shortcuts

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