postgres

package
v0.0.0-...-08cb46d Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresDriver

type PostgresDriver struct {
	driver.SQLBase
	// contains filtered or unexported fields
}

PostgresDriver implements the Driver interface for PostgreSQL.

func (*PostgresDriver) CompleteTableName

func (d *PostgresDriver) CompleteTableName(ctx context.Context, prefix string) ([]string, error)

func (*PostgresDriver) Connect

func (d *PostgresDriver) Connect(ctx context.Context, dsn string) error

func (*PostgresDriver) ConnectionInfo

func (d *PostgresDriver) ConnectionInfo() string

func (*PostgresDriver) Execute

func (d *PostgresDriver) Execute(ctx context.Context, query string) (*driver.QueryResult, error)

func (*PostgresDriver) FetchChildren

func (d *PostgresDriver) FetchChildren(ctx context.Context, path []string) ([]*driver.TreeNode, error)

func (*PostgresDriver) FetchTree

func (d *PostgresDriver) FetchTree(ctx context.Context) ([]*driver.TreeNode, error)

func (*PostgresDriver) ResultFormat

func (d *PostgresDriver) ResultFormat() driver.ResultFormat

func (*PostgresDriver) Type

func (d *PostgresDriver) Type() driver.DriverType

Jump to

Keyboard shortcuts

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