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) DumpDDLs ¶
func (d *PostgresDatabase) DumpDDLs() (string, error)
type PostgresParser ¶
type PostgresParser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func NewParser() PostgresParser
func (PostgresParser) Parse ¶
func (p PostgresParser) Parse(sql string) ([]database.DDLStatement, error)
Click to show internal directories.
Click to hide internal directories.