Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConnectionStringKey = "connectionString" ConnectionStringSuggestionsKey = "connectionStringSuggestions" DebugKey = "debug" EncloseWithMermaidBackticksKey = "encloseWithMermaidBackticks" IgnoreTables = "ignoreTables" OmitAttributeKeysKey = "omitAttributeKeys" OmitConstraintLabelsKey = "omitConstraintLabels" OutputFileNameKey = "outputFileName" OutputMode = "outputMode" RelationshipLabelsKey = "relationshipLabels" SchemaKey = "schema" SchemaPrefixSeparator = "schemaPrefixSeparator" SelectedTablesKey = "selectedTables" ShowAllConstraintsKey = "showAllConstraints" ShowDescriptionsKey = "showDescriptions" ShowSchemaPrefix = "showSchemaPrefix" UseAllSchemasKey = "useAllSchemas" UseAllTablesKey = "useAllTables" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MermerdConfig ¶
type MermerdConfig interface {
ConnectionString() string
ConnectionStringSuggestions() []string
Debug() bool
EncloseWithMermaidBackticks() bool
IgnoreTables() []string
OmitAttributeKeys() bool
OmitConstraintLabels() bool
OutputFileName() string
OutputMode() OutputModeType
RelationshipLabels() []RelationshipLabel
SchemaPrefixSeparator() string
Schemas() []string
SelectedTables() []string
ShowAllConstraints() bool
ShowDescriptions() []string
ShowSchemaPrefix() bool
UseAllSchemas() bool
UseAllTables() bool
}
func NewConfig ¶
func NewConfig() MermerdConfig
type OutputModeType ¶ added in v0.12.0
type OutputModeType string
const ( File OutputModeType = "file" Stdout OutputModeType = "stdout" )
func (*OutputModeType) Set ¶ added in v0.12.0
func (o *OutputModeType) Set(v string) error
func (*OutputModeType) String ¶ added in v0.12.0
func (o *OutputModeType) String() string
func (*OutputModeType) Type ¶ added in v0.12.0
func (o *OutputModeType) Type() string
type RelationshipLabel ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.