Versions in this module Expand all Collapse all v0 v0.3.0 Jul 16, 2024 Changes in this version + type InterfaceScanner interface + Scan func(data []byte) (T, error) + type TypeNameScanner struct + func NewTypeNameScanner[T any](types map[string]reflect.Type, typeNameKey string) *TypeNameScanner[T] + func (t *TypeNameScanner[T]) ScanJson(data []byte) (T, error) + func (t *TypeNameScanner[T]) ScanRow(row pgx.CollectableRow) (T, error) v0.2.1 Jan 1, 2023 Changes in this version + type Dialect string + type Driver interface + Close func() error + Dialect func() string + type Executor struct + func NewExecutor(drivers map[string]Driver) Executor + func (e Executor) Get(dialect string) (Driver, error) + func (e Executor) Scan(ctx context.Context, dialect string, model interface{}) error + type Scanner interface + Scan func(ctx context.Context, v any) error