Documentation
¶
Index ¶
- type PostgreSQL
- func (p *PostgreSQL) Close() error
- func (p *PostgreSQL) Connect() error
- func (p *PostgreSQL) ExecuteQuery(query string) error
- func (p *PostgreSQL) FetchAllRows(table string) ([]map[string]interface{}, error)
- func (p *PostgreSQL) FetchTables(schema string, dumpTables []string, excludeTables []string) ([]string, error)
- func (p *PostgreSQL) GetURI() string
- func (p *PostgreSQL) Ping() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgreSQL ¶
type PostgreSQL struct {
// contains filtered or unexported fields
}
func NewPostgreSQL ¶
func (*PostgreSQL) Close ¶
func (p *PostgreSQL) Close() error
func (*PostgreSQL) Connect ¶
func (p *PostgreSQL) Connect() error
func (*PostgreSQL) ExecuteQuery ¶
func (p *PostgreSQL) ExecuteQuery(query string) error
func (*PostgreSQL) FetchAllRows ¶
func (p *PostgreSQL) FetchAllRows(table string) ([]map[string]interface{}, error)
func (*PostgreSQL) FetchTables ¶
func (*PostgreSQL) GetURI ¶
func (p *PostgreSQL) GetURI() string
func (*PostgreSQL) Ping ¶
func (p *PostgreSQL) Ping() error
Click to show internal directories.
Click to hide internal directories.