postgresql

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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