postgres

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider() *Provider

func (*Provider) Connect

func (p *Provider) Connect(cfg *config.DataSourceConfig) (*sql.DB, schema.Dialect, error)

func (*Provider) Kind

func (p *Provider) Kind() config.DBKind

func (*Provider) QueryVersion

func (*Provider) QueryVersion(db *bun.DB) (string, error)

func (*Provider) ValidateConfig

func (*Provider) ValidateConfig(_ *config.DataSourceConfig) error

Jump to

Keyboard shortcuts

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