postgres

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 3 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 {
}

func (*PostgresDriver) ListColumns

func (m *PostgresDriver) ListColumns(db *dbless.DB, dbname string, tablename string) ([]*sql.ColumnType, error)

func (*PostgresDriver) ListDatabases

func (m *PostgresDriver) ListDatabases(db *dbless.DB) ([]string, error)

func (*PostgresDriver) ListTables

func (m *PostgresDriver) ListTables(db *dbless.DB, dbname string) ([]string, error)

func (*PostgresDriver) Name

func (m *PostgresDriver) Name() string

func (*PostgresDriver) Placeholder

func (m *PostgresDriver) Placeholder(values []interface{}) []string

func (*PostgresDriver) QuoteIdentifier

func (m *PostgresDriver) QuoteIdentifier(v string) string

func (*PostgresDriver) ScanReceiver

func (m *PostgresDriver) ScanReceiver(t *sql.ColumnType) (interface{}, error)

Jump to

Keyboard shortcuts

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