Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaHeroDatabaseConnection ¶
type SchemaHeroDatabaseConnection interface {
Close() error
DatabaseName() string
EngineVersion() string
ListTables() ([]*types.Table, error)
ListTableForeignKeys(string, string) ([]*types.ForeignKey, error)
ListTableIndexes(string, string) ([]*types.Index, error)
GetTablePrimaryKey(string) (*types.KeyConstraint, error)
GetTableSchema(string) ([]*types.Column, error)
}
Click to show internal directories.
Click to hide internal directories.