Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresDatabase ¶
type PostgresDatabase struct {
// contains filtered or unexported fields
}
func (*PostgresDatabase) Close ¶
func (d *PostgresDatabase) Close() error
func (*PostgresDatabase) DB ¶
func (d *PostgresDatabase) DB() *sql.DB
func (*PostgresDatabase) DumpTableDDL ¶
func (d *PostgresDatabase) DumpTableDDL(table string) (string, error)
Due to PostgreSQL's limitation, depending on pb_dump(1) availability in client. Possibly it can be solved by constructing the complex query, but it would be hacky anyway.
func (*PostgresDatabase) TableNames ¶
func (d *PostgresDatabase) TableNames() ([]string, error)
Click to show internal directories.
Click to hide internal directories.