Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface { Analyze() (*database.Result, error) GetConnectionString() (string, error) GetSchemas(db database.Connector) ([]string, error) GetTables(db database.Connector, selectedSchemas []string) ([]database.TableDetail, error) GetColumnsAndConstraints(db database.Connector, selectedTables []database.TableDetail) ([]database.TableResult, error) }
func NewAnalyzer ¶
func NewAnalyzer(config config.MermerdConfig, connectorFactory database.ConnectorFactory, questioner Questioner) Analyzer
type Questioner ¶
type Questioner interface { AskConnectionQuestion(suggestions []string) (string, error) AskSchemaQuestion(schemas []string) ([]string, error) AskTableQuestion(tables []string) ([]string, error) }
func NewQuestioner ¶
func NewQuestioner() Questioner
Click to show internal directories.
Click to hide internal directories.